Penrose tiling: Difference between revisions
Added Fōrmulæ entry
(Added Fōrmulæ entry) |
|||
Line 252:
penrose(6)
Close #1</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 Penrose tiling is:
[[File:Fōrmulæ - L-system - Penrose tiling 01.png]]
[[File:Fōrmulæ - L-system - Penrose tiling 02.png]]
=={{header|Go}}==
|