Peano curve: Difference between revisions

→‎{{header|Fōrmulæ}}: added Peano-Meander variant by L-system
(→‎{{header|Fōrmulæ}}: added Peano-Meander variant by L-system)
Line 538:
'''Solution'''
 
=== VariantPeano-Meander 1variant, by recursion ===
 
[[File:Fōrmulæ - Peano curve 01.png]]
 
'''Test cases'''
 
[[File:Fōrmulæ - Peano curve 02.png]]
Line 548 ⟶ 546:
[[File:Fōrmulæ - Peano curve 03.png]]
 
'''Test cases'''
=== Varian 2, by L-system ===
 
=== Peano-Meander variant, by 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 Peano-Meander curve is:
 
[[File:Fōrmulæ - L-system - Peano-Meander curve 01.png]]
 
[[File:Fōrmulæ - L-system - Peano-Meander curve 02.png]]
 
=== VarianSwitch-back 2variant, by L-system ===
 
The program that creates a Switch-back Peano curve is:
 
[[File:Fōrmulæ - L-system - Peano Curve 01.png]]
2,120

edits