L-system: Difference between revisions
Content deleted Content added
m julia example |
|||
Line 149:
=={{header|Julia}}==
Julia has the Lindenmeyer.jl package downloadable via the package manager in the usual fashion.
<syntaxhighlight lang="julia">
scurve = LSystem(Dict("F" => "F+F--F+F"), "F--F--F")
drawLSystem(scurve,
forward =
turn = 60,
startingy = 100,
iterations = 3,
filename = "kochsnow.png",
showpreview = true
)
</syntaxhighlight>{{out}}
[[File:Kochsnowflake.png|alt=fractal image|Koch Snowflake]]
=={{header|Wren}}==
|