I came across this https://www.mathsisfun.com/numbers/nature-golden-ratio-fibonacci.html
and the rotation simulator just below the first section says to type in a number for each rotation. But, it doesn't explain what it is actually calculating.
If I type a number, by what angle is it rotating each cell, how is it calculating the initial number of cells, and how is it scaling each cell with each rotation to look like a sunflower? This definitely has come up in natural phenomena before like the nautilus spiral and the fern, so I want to know the generalization behind this pattern.