Sierpinski curve: Difference between revisions
→{{header|Fōrmulæ}}: Added L-system solution
(Added Easylang) |
(→{{header|Fōrmulæ}}: Added L-system solution) |
||
Line 728:
'''Solution'''
=== Recursive ===
[[File:Fōrmulæ - Sierpiński curve 01.png]]
Line 736 ⟶ 738:
[[File:Fōrmulæ - Sierpiński curve 03.png]]
=== 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 Sierpiński curve is:
[[File:Fōrmulæ - L-system - Sierpiński curve 01.png]]
[[File:Fōrmulæ - L-system - Sierpiński curve 02.png]]
=={{header|FreeBASIC}}==
|