Koch curve: Difference between revisions
Added Fōrmulæ entry
m (→{{header|Wren}}: Changed to Wren S/H) |
(Added Fōrmulæ entry) |
||
Line 1,021:
End
</syntaxhighlight>
=={{header|Fōrmulæ}}==
{{FormulaeEntry|page=https://formulae.org/?script=examples/L-system}}
'''Solution'''
It can be done using an [[wp:L-system|L-system]]. There are generic functions written in Fōrmulæ to compute an L-system in the page [[L-system#Fōrmulæ | L-system]].
The program that creates a Koch curve is:
[[File:Fōrmulæ - L-system - Koch's snowflake 01.png]]
[[File:Fōrmulæ - L-system - Koch's snowflake 02.png]]
=={{header|Go}}==
|