Fibonacci word/fractal: Difference between revisions
→{{header|Fōrmulæ}}
Line 749:
{{FormulaeEntry|page=https://formulae.org/?script=examples/Fibonacci_word}}
'''Solution'''
The following function generate the Fibonacci word of a given order:
[[File:Fōrmulæ - Fibonacci word 01.png]]
'''Drawing a Fibonacci word fractal'''
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æ - Fibonacci word 10.png]]
In this case, the program is a Fibonacci word:
[[File:Fōrmulæ - Fibonacci word 11.png]]
[[File:Fōrmulæ - Fibonacci word 12.png]]
=={{header|Go}}==
|