Sunflower fractal: Difference between revisions
Content added Content deleted
(→{{header|Julia}}: redo picture placement to not crowd Liberty Basic entry) |
(Added Fōrmulæ entry) |
||
Line 270: | Line 270: | ||
End |
End |
||
</syntaxhighlight> |
</syntaxhighlight> |
||
=={{header|Fōrmulæ}}== |
|||
{{FormulaeEntry|page=https://formulae.org/?script=examples/Sunflower_model}} |
|||
'''Solution''' |
|||
The method consists in drawing points on a spriral, an archimedean spiral, where two contiguous points are separated (in angle) by the golden angle. |
|||
Because the points tend to agglomerate in the center, they are smaller there. |
|||
[[File:Fōrmulæ - Sunflower model 01.png]] |
|||
[[File:Fōrmulæ - Sunflower model 02.png]] |
|||
[[File:Fōrmulæ - Sunflower model 03.png]] |
|||
'''Improvement''' |
|||
Last result is not natural. Florets in a sunflower are all equal size. |
|||
H. Vogel proposed to use a Fermat spiral, in such a case, the florets are equally spaced, and we can use now circles with the same size: |
|||
[[File:Fōrmulæ - Sunflower model 04.png]] |
|||
[[File:Fōrmulæ - Sunflower model 05.png]] |
|||
[[File:Fōrmulæ - Sunflower model 06.png]] |
|||
=={{header|Go}}== |
=={{header|Go}}== |