Fibonacci word/fractal: Difference between revisions

m
m (→‎{{header|Wren}}: Changed to Wren S/H)
 
Line 758:
'''Drawing a Fibonacci word fractal'''
 
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]].
We will need the following function to generate drawing by the using of [https://en.wikipedia.org/wiki/L-system L-system]. Notice that the "program" to execute is given as input:
 
[[File:FōrmulæThe -program to draw a Fibonacci word 10.png]]fractal is:
 
In this case, the program is a Fibonacci word:
 
[[File:Fōrmulæ - Fibonacci word 11.png]]
2,120

edits