Peano curve: Difference between revisions

m
→‎{{header|Quackery}}: Added link to description of method
m (→‎{{header|Quackery}}: Added link to description of method)
 
(One intermediate revision by one other user not shown)
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]]
Line 1,537 ⟶ 1,545:
 
=={{header|Quackery}}==
 
(Method is described at [[L-system#Quackery]].)
 
<syntaxhighlight lang="quackery"> [ $ "turtleduck.qky" loadfile ] now!
1,478

edits