JavaScript simulation of WS2812 LED strips commonly used with Arduino