Why every Evil Genius Labs LED board is built on a sunflower spiral
Why Fibonacci?

Jason Coon traces his Fibonacci LED obsession back to a 2015 Jim Bumgardner video, then explains the geometry behind dozens of boards from the One Inch Fibonacci64 to the Fibonacci1024. Each LED is placed by one rule: step out a little, add an LED, turn 137.508°. The golden angle can't be written as a fraction, so pixels never line up into spokes, and √n spacing gives every LED an equal share of the board.
Start at the center. Step out a little, add an LED, then turn 137.508°, the golden angle.
- _Microft
If you are curious about a three-dimensional case of distributing points (relatively) evenly, then John Cook has something on that for points on a sphere. And it's also using a Fibonacci pattern.
https://www.johndcook.com/blog/2023/08/12/fibonacci-lattice/
- sph
I just learned about Fibonacci hashing, where you multiply a hash function by a certain factor derived from the golden ratio, which gives you better distribution than a bare integer modulo.
https://probablydance.com/2018/06/16/fibonacci-hashing-the-o...
The graph of the distribution is indeed very similar to the LEDs in this article: https://book.huihoo.com/data-structures-and-algorithms-with-...
So if you find yourself doing:
bucket = hash % total_buckets;
Consider introducing Fibonacci hashing. And the reason this works, and provides uniform distribution is this: https://en.wikipedia.org/wiki/Equidistribution_theorem
- mbf1
I noticed in step 5 of this that you get spirals at Fibonacci numbers like 55 and 89 (which are 34 apart). However, if you pick 72 which is half way between the spirals, you see something interesting happen.