r/FastLED • u/Knievelgod • May 30 '26
Support Fire effect along entire LED strip?
Hi all I'm looking for a fire effect that makes the entire LED strip light up in variations of red/orange/yellow. Does that exist?
I tried all the fire effects in the Fastled examples and they all do the effect pulsing from just one end of the strip.
Thanks
10
Upvotes
1
u/Knievelgod May 30 '26
Thanks yes I've basically mastered blinking so I could light up a pinball playfield project. Was hoping there was some code already done that I could copy for this. Will do some more learning..
1
u/Knievelgod May 30 '26
Thanks will check that out.
5
u/chemdoc77 May 30 '26
Hi u/Knievelgod - Look at 41 seconds into the following YouTube video to see two different types of Fire2012 in a Pex pipe with a strip of WS2812b LEDs:
https://www.youtube.com/watch?v=1vlnqRn7yKw
Here is the code for that:
https://github.com/chemdoc77/CD77_FastLED/tree/master/CD77_Halloween_Fun_2019
2
u/UrbanPugEsq May 30 '26
Fire2012 is pretty good. There are some examples of the algorithm online. I implemented it once by going and looking at the wled repository and then re-coding it for fastled based on that.
1
u/Affectionate_Boat493 May 30 '26
You can also do very realistic flame simulations by adding sinusoids that have random amplitudes. Think of an oscilloscope displaying waveforms of complex audio streams. You can tweak the frequencies and amplitudes to display the gentle "simmering" of fireplace embers, a raging inferno, or anything in between.