Sorry for the poor video quality. Because of the flash rate and the way a CMOS senor works, it cannot record the true effect.
This lightning effect uses addressable LEDs. The code generates a random number of flashes, a random brightness level for each flash, a random delay between flashes, and a random delay between the overall effect. See the code after the break.
Leave a Reply