Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
18
Task/Dragon-curve/Sidef/dragon-curve.sidef
Normal file
18
Task/Dragon-curve/Sidef/dragon-curve.sidef
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
var rules = Hash(
|
||||
x => 'x+yF+',
|
||||
y => '-Fx-y',
|
||||
)
|
||||
|
||||
var lsys = LSystem(
|
||||
width: 600,
|
||||
height: 600,
|
||||
|
||||
xoff: -430,
|
||||
yoff: -380,
|
||||
|
||||
len: 8,
|
||||
angle: 90,
|
||||
color: 'dark green',
|
||||
)
|
||||
|
||||
lsys.execute('Fx', 11, "dragon_curve.png", rules)
|
||||
Loading…
Add table
Add a link
Reference in a new issue