Koch curve: Difference between revisions

Content added Content deleted
m (→‎{{header|Wren}}: Changed to Wren S/H)
(Added Fōrmulæ entry)
Line 1,021: Line 1,021:
End
End
</syntaxhighlight>
</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}}==
=={{header|Go}}==