Hello, First and fore most I want to say I am not looking for

Hello, First and fore most I want to say I am not looking for spoon feeding or someone to write complete code for me. That said, I have been trying to figure out the best way to come up with a flame simulation pattern, I have 6 ws2812s in a circle around a white cone, I want it to have a random fade in and out around the circle smoothly so that it blends between leds. Any recommendations or code samples? The fire2012 pattern is not what i’m looking for at all. this has to look like a very timid and waiving candle flame with an orange to white palette.

Hi @Sergeant_Seven - In:

https://plus.google.com/+PeterBuelow/posts/ax9zC72W3QH

I posted:

check out the post by @Christopher_Smolinsk and his digital fireplace (put the word “fireplace” in the FastLED community search box and scroll to the bottom). He uses @Mark_Kriegsman ’s “holiday twinkle” code with a palette of red, orange, and yellow. I tried this with a 24 NeoPixel ring using an Arduino Uno and a glass with tissue paper in the glass covering the ring. It looks nice. I am sure you can adjust the palettes and other variables to get the effect you want.

Post addendum: You might want to also try using the search term “candle” in the FastLED Search Community box on the left of this webpage.

I will check that out thank you!
I had done numerous google searches before with similar tags but that hadn’t popped up.

Here’s a variety of code that might have some ideas you can explore and modify into what you create.

Also check out @Andrew_Tuline examples that use noise, beat, sin, etc. Using several overlapping sin functions and some noise should be able to give some nice simple candle effect.

Make FastLED’s random8() function your friend. Info on this page:

Assign color using HSV (instead of RGB) so you can easily control the brightness by varying V.

FastLED’s EVERY_N_MILLISECONDS and SECONDS feature can be very useful. This example (line 58-71) shows how you can make EVERY_N have a variable random time.