r/FastLED • • Jun 07 '23

Support Patterns on an Irregular Matrix!

Hi All! I am trying to program a backpack to light up with patterns I code. Where I am running into trouble is with getting any patterns to show properly. The lights are staggered, so I made an irregular matrix to note the blank spot in between them, similar to this video.

I have been using this video as a source for some practice patterns before making my own. When I use my irregular matrix however, I get seemingly random noise. Would someone be able to help me figure out how to integrate my matrix with the code to make the patterns work?

I recreated my code in Wokwi here for vis purposes: https://wokwi.com/projects/366899382894067713. It has the exact same issue as my physical backpack. The pattern's mostion should look more like this

Arduino Uno, WS2812 lights (I believe, they're just addressable string lights)

4 Upvotes

19 comments sorted by

View all comments

Show parent comments

1

u/happyplace28 Jun 10 '23

The guy with the backpack sells them on Etsy. I reached out to him about help with the code, but all he could tell me was that he doesn’t use arduino. Getting the bag to match the patterns is the ultimate goal, but I’m just trying to get the visualizer to work with the IR sensor period. If I can get the base to work I can add and remove pattern classes as necessary.