In one of the my first exercises with p5, I continued working with a topic I'm mildly obsessed with, the golden ratio. This ratio is found throughout nature (it's the most efficient use of space, so it developed independently in species) and is even present in the rotation of plant leaves.
I aimed to make flower petals that rotated with this ratio (1 : 1.618). When that ratio is applied to a circle, the degree of rotation is approximately 270 from the starting point. The petals continue this rotation and grow in size the further down they are. I later connected this p5 sketch to an Arduino to allow its rotation to be interactive.