This projects aim is to simulate flowers(Gerbera Daisy) phyllotaxis.
Take a look at the arrangement of this flower's seeds, this project's goal is to find the location of all those seeds and create a 3d representation of the flower using Blender. Since it may be a new concept to you, I'll try to explain it a little bit, but for a better understanding of flowers phyllotaxis, read The Algorithmic Beauty of Plants book, Chapter 4. The link to this book is available in the references section.
As the first step, we find the location of seeds, Two plots below represent flowers with 1000 nodes and 2000 nodes respectively.
The most exciting thing about flower's seeds arrangement is that the number of seeds in a spiral is exactly integers from the Fibonacci sequence. It is a little hard to trace the spirals by eye, so I reduced the rotation speed, which makes spirals clearer.
Now it is easy to trace the spirals and count the seeds in each of them (ex: 8 and 34 are the Fibonacci numbers for the first picture). but the former illustrations are the real flowers phyllotaxis.
As the first attempt to generate the 3D model, if we replace the circles with cubes, the pictures below will be the result, you can easily see the phyllotaxis pattern.
And at last, this is the final result generated by this package. The blender python API is used to generate this 3D model.
To plot the pattern using matplotlib:
# replace 600 with the number of nodes
python -m phyllotaxis plot 600
To render the the 3D model:
# replace 600 with the number of nodes
python -m phyllotaxis render 600
bpy - blender python api ( if you are using Arch Linux, use this AUR package to install )
The Algorithmic Beauty of Plants book | Professor Przemysław Prusinkiewicz