I'm developing a vaccination simulation for a science centre exhibit, but have little coding experience. It has been previously recommended that I use an addressable LED strip with 50 LEDs, arranged in a matrix. Do you have any advice on tutorials or previous examples similar to what I'm trying to do?
Visitors will press one of Button A, B, C to "vaccinate" and then press Button D to watch a "disease spread".
Button A: Randomly light up 15/50 LED blue
Button B: Randomly light up 25/50 LED blue
Button C: Randomly light up 47/50 LED blue
if blue lit up, stays lit up, will not change red, act as barriers to spreading red
Button D: randomly light up one red, then anything touching a red LED (if not already blue) lights up, anything touching those red LED light up, etc. until all LED are lit up
I'm developing a vaccination simulation for a science centre exhibit, but have little coding experience. It has been previously recommended that I use an addressable LED strip with 50 LEDs, arranged in a matrix. Do you have any advice on tutorials or previous examples similar to what I'm trying to do?
Visitors will press one of Button A, B, C to "vaccinate" and then press Button D to watch a "disease spread".
Button A: Randomly light up 15/50 LED blue
Button B: Randomly light up 25/50 LED blue
Button C: Randomly light up 47/50 LED blue
if blue lit up, stays lit up, will not change red, act as barriers to spreading red
Button D: randomly light up one red, then anything touching a red LED (if not already blue) lights up, anything touching those red LED light up, etc. until all LED are lit up
Anything is appreciated!
The Neopixels come in either 30 LEDs per meter or 60 LEDs per meter.
To make a matrix, you would need discard 10 LEDs and to cut up the remainder into 3 pieces.
They have double-sided tape so you can mount on plexiglass.