This project is an interactive LED matrix simulator designed to provide a virtual platform for developing animations for LED matrices, specifically Pimoroni's Cosmic Unicorn.
The simulator allows you to experiment with mathematical patterns and colour dynamics. The 32×32 LED grid acts as a virtual canvas where you can write equations in real‑time to generate flowing waves, sparkles, pulses and more. It's an ideal tool for perfecting animation logic before deploying it to physical hardware.
Whether you're a hobbyist, an engineer, or just someone who enjoys visual‑math experiments, this simulator offers a playful and powerful way to bring light‑based designs to life.
r = 0
g = 0
b = 255 if x == y else 0
r = 0
g = 255 * sin((y + t)*0.5)
b = 0
NOTE: Only tested on the original Cosmic Unicorn NOT Pico 2 W