Skip to content

Prism

An acrylic desktop sculpture that turns a grid of LEDs into colorful 3-D patterns.

Facts

Created Status Code
2016 Active GitHub

The story

Inspired by Glow, Prism trades individual LEDs for a 10 × 10 Adafruit NeoPixel grid. Acrylic columns of different heights and cut angles refract its light into vivid patterns. I cut the acrylic with Microsoft Garage's laser cutter.

A cardboard base holds a Raspberry Pi Zero W and the LED matrix, so the finished unit only needs power. My custom software (it's on GitHub) handles pattern selection, cross-fades, on/off schedules, and control through an HTTP server and web interface.

Animation Patterns

Six animated “gems” and the code behind them

Prism calls its animations “gems”: random colors, color peaks, color swipes, a running pixel, expanding drops, and moving rows. Each pattern keeps moving as it cross-fades into the next one over three seconds. The animation controller has the selection and transition logic.

My separate LightFX library supplies layered drawing and fading. The expanding-drops pattern, for example, creates colored drops at random positions and changes their arrival rate over time.

Videos

Finished Demo Video

Prototype Demo Video

Further Reading & Media

Animation source and LightFX library
  • Prism animation controller — the six animated patterns and their cross-fades.
  • Expanding drops — one complete animation, showing how layered colored drops are generated.
  • LightFX — the separate drawing and animation library used by Prism.