hn.today

Why Fibonacci?

evilgeniuslabs.org70 points13 comments
Screenshot of Why Fibonacci?

Fibonacci LED boards arrange their lights on a Fermat spiral, like seeds in a sunflower, rather than along the single curve often called a Fibonacci spiral. Starting at the center, each new LED turns 137.508 degrees and moves outward according to the square root of its position in the sequence. The angle is the golden angle, 360 degrees divided by the square of the golden ratio. Unlike simple fractions of a turn, which make LEDs line up in spokes, this angle is incommensurate with a full turn, so the pattern stays evenly distributed. In a comparison of 600 LEDs, the closest pair reaches 87% of the spacing in a perfect honeycomb; 90 degrees achieves only 4%, and 137 degrees 55%.

The square-root spacing matters because a disc’s area increases with the square of its radius. Moving outward by the same amount each time would crowd LEDs at the center and leave them sparse at the edge; square-root spacing gives each LED roughly equal area and keeps pixel density consistent. The spiral also remains round at any LED count, and adding a light does not shift the others, allowing board designs from 32 to 1,024 LEDs to share one layout. Their name comes from visible spiral arms: connecting every third, fifth, eighth, or thirteenth LED reveals successive Fibonacci counts, because the golden angle closely approximates fractions associated with those numbers. Some designs depart from the usual spacing rule.

Read on evilgeniuslabs.org13 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Hardware

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.