Visualizing Algorithms with Python and Programmable LEDs
summary
Hardware-level how-to and concrete demos: APA102 (dotstar) LED strips drive over SPI from a Raspberry Pi so full CPython controls pixels; power planning is explicit—use 5V and budget about 60 mA per LED for full white; use a pure‑Python APA102 driver and HSV-to-RGB conversion plus gamma correction to get usable colors; live demos include Quicksort in brilliant colors and other algorithm visualizations that run on real strips and actually complete, showing which sorts look fast or slow in practice.
AI-written summary · about
chapters (11)
- 0:00Start
- 0:21Visualizing Algorithms with Python AND PROGRAMMABLE LEDs!
- 1:14LED models
- 3:05APA102 (aka DotStar)
- 4:06Buying LED strips - Reading the Listing
- 6:32Adafruit
- 7:10Calculating Power requirements
- 8:57Wiring
- 9:55Colors on LEDs
- 13:13Color on LEDs
- 27:52Make your own!
related talks
31mSparking Creativity in LED Art with CircuitPython
17mI can stop adding more LEDs anytime I want, I just choose not to
30mCreating Beautiful LED Art with JavaScript
29mCreating Art with a Raspberry Pi
19mAdventures with blinking lights
24mLights! Python! Action!
46mInteractive Light
37mPython, Hardware, Networks and your toolbox for Interactive Art.
