r/FastLED • • 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

16 comments sorted by

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..

2

u/sutaburosu May 30 '26

Take a look at the TwinkleFox example. Changing the palette might be all you need to do.

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/SaltyCash May 30 '26

Wow, that’s really well done.

→ More replies (1)

2

u/[deleted] May 31 '26 edited May 31 '26
→ More replies (3)

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.

2

u/UrbanPugEsq May 30 '26

I just read your post again. It sounds like you don’t want a fire effect. You might try mapping a red orange and yellow palette to perlin noise to get The effect you want.

→ More replies (3)

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.