Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
17
Task/Koch-curve/Sidef/koch-curve.sidef
Normal file
17
Task/Koch-curve/Sidef/koch-curve.sidef
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
var rules = Hash(
|
||||
F => 'F+F--F+F',
|
||||
)
|
||||
|
||||
var lsys = LSystem(
|
||||
width: 800,
|
||||
height: 800,
|
||||
|
||||
xoff: -210,
|
||||
yoff: -90,
|
||||
|
||||
len: 8,
|
||||
angle: 60,
|
||||
color: 'dark green',
|
||||
)
|
||||
|
||||
lsys.execute('F--F--F', 4, "koch_snowflake.png", rules)
|
||||
Loading…
Add table
Add a link
Reference in a new issue