Digital sand, or PaintYourDragon’s PixelDust is one of our favorite libraries. Learn how to make your own PixelDust Digital Sand in the Adafruit Learning System:
Let the grains fall where they may.
Like sparkling pixels of sand
LEDs are made of silicon – pretty much digital sand – so this just makes sense.

Create interactive simulated grains of sand!