WS2812 RGB and/or SK6812 RGBW flame effects?
David Betz
Posts: 14,516
in Propeller 1
Has anyone written any code to simulate flickering flame light using RGB or RGBW LEDs? I don't need the effect to look like a flame when viewed directly, just produce light that looks like a fire when reflected off of a wall.
Comments
I thinking about connecting a CdS cell to an ADC and recording a real flame. Add some randomize to that pattern and see how it looks.
Looks like a pretty good flame effect. I made an attempt to convert his code to Spin and got this: It seems to work although the color temperature isn't quite right.
Edit: I should mention that I've been using JonnyMac's jm_rgbx_pixel.spin driver.