Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
18
Task/Peano-curve/Sidef/peano-curve.sidef
Normal file
18
Task/Peano-curve/Sidef/peano-curve.sidef
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
var rules = Hash(
|
||||
l => 'lFrFl-F-rFlFr+F+lFrFl',
|
||||
r => 'rFlFr+F+lFrFl-F-rFlFr',
|
||||
)
|
||||
|
||||
var lsys = LSystem(
|
||||
width: 500,
|
||||
height: 500,
|
||||
|
||||
xoff: -50,
|
||||
yoff: -50,
|
||||
|
||||
len: 5,
|
||||
angle: 90,
|
||||
color: 'dark green',
|
||||
)
|
||||
|
||||
lsys.execute('l', 4, "peano_curve.png", rules)
|
||||
Loading…
Add table
Add a link
Reference in a new issue