Procedural Art with a Hacked IKEA Lamp
summary
Project opens an IKEA OBGRÖNSAND lamp, desolders the original controller and chains a replacement ESP32 to the four 16×16 LED modules, prototypes firmware in Toy then rewrites in Rust to hit subframe dimming and three brightness levels without flicker. A websocket-backed control path uses a Cloudflare durable object for shared input; single-user real‑time control works but performance degrades with many clients. Heavy math (division, floats, rasterization) slashes frame rate; the live demo runs but can’t handle high-res effects.
AI-written summary · about
chapters (19)
- 0:00Introduction and IKEA lamp overview
- 3:23Hardware hacking the lamp
- 7:37Setting up the microcontroller
- 9:45Basic pixel control and frame display
- 10:52Art limitations and expectations
- 11:33Frame-based animation approach
- 14:47Handcrafted decorative art
- 15:29Procedural painting with cursors
- 16:57Cellular automata experiments
- 19:05Tips for procedural art algorithms
- 20:49Showcase vs decorative art
- 21:10Cloud-based real-time interaction
- 24:17Limitations of the lamp's screen
- 25:43Achieving grayscale with PWM
- 27:10Switching to Rust for performance
- 28:57Live Rust implementation demo
- 30:44Performance challenges with noise
- 31:48Key takeaways and project reflections
- 33:56Q&A session
