Phyllotaxis: An audio-reactive LED display
- ID
- 30161
- Status
- summarized
- Published
- 29 Sep 2026, 12:18 AM
- Fetched
- 30 Sep 2026, 12:35 PM
- Provider
- Hacker News
- Category
- dev-community
- Original URL
- https://jagi.studio/posts/phyllotaxis/
- Source URL
- https://hnrss.org/best
Summary
- Score
- 4.5
- Created
- 30 Sep 2026, 12:35 PM
- Tags
- Audience
- developersvibe_coders
What happened
Jagi Natarajan's project turns the phyllotaxis pattern (sunflower-seed spirals) into a physical, audio-reactive LED display. The core layout is a short loop that rotates each point by increasing multiples of the golden ratio (1.6180339887) to build a point cloud, which is then Voronoi-tessellated into seed-pod-like cells. The cell geometry is exported from a Processing sketch, rebuilt in Python with CadQuery (subtracting each shrunk cell to form walls and carving a hole for an addressable RGB LED per cell), split into four quadrants to fit the 3D printer bed, post-processed in FreeCAD with screw holes and a thin paper-backed faceplate, and STEP files exported. The Hacker News thread drew 267 points and 45 comments.
Why it matters
This is a reusable pipeline rather than a product announcement: generative geometry in Processing, Voronoi tessellation for cell shapes, CadQuery for parametric solids, quadrant splitting for a small print bed, FreeCAD for fasteners, then one LED per cell. If you have ever wanted a non-rectangular LED matrix, the specific trick worth copying is cutting a shrunk copy of each cell out of the merged volume to create walls, then cutting an LED-sized hole at each cell centre — that is what makes the addressable-LED-per-cell build feasible without a custom PCB. There is no vendor, pricing, or Malaysia angle here, so treat it as a craft/creative-coding segment, not something that changes a production decision.
Discussion angle
Where is the line between 'write the geometry in code' and 'just buy a panel'? Walk through why the golden-ratio loop plus Voronoi cells beats a rectangular neopixel grid for this object, and ask who in the room has actually taken a sketch from Processing to a printed part and what broke in that handoff.