I'm in the process of trying to make an LED coat like this one for a party next week. I'm driving 500 WS2811s with this poor little espruino pico because it's all I've got right now. I have no issues with powering them all, I have that figured out. What I am struggling with is generating the patterns. Too much math is happening to push out 3*500 random numbers to make the LED light change snappy. Basically it's a slideshow. It all works fine, just slow as hell.
What I want to do is either output a 25 light pattern x 20, but I can't figure out how (or if its even possible).
Anyone have any advice on how to do it? I thought about concatenating the array into a larger array (thus saving a bunch of math steps), or just trying to output the same array multiple times in one go using require("neopixel").write but cant seem to make it happen.
If there is no solution, I'll just use static patterns, but it would be cool for them to be animated.
Pic attached for desired outcome.
© Espruino, powered by microcosm.
Report a problem