55 heat.resize(num_leds);
73 for (u16 k =
mNumLeds - 1; k >= 2; k--) {
87 u8 colorindex = scale8(
heat[j], 240);
Fire2012(u16 num_leds, u8 cooling=55, u8 sparking=120, bool reverse_direction=false, const CRGBPalette16 &palette=(const CRGBPalette16 &) HeatColors_p) FL_NO_EXCEPT
void draw(DrawContext context) FL_NO_EXCEPT override
fl::vector_psram< u8 > heat
fl::string fxName() const FL_NO_EXCEPT override
Fx1d(u16 numLeds) FL_NO_EXCEPT
const TProgmemRGBPalette16 HeatColors_p
Approximate "black body radiation" palette, akin to the FastLED HeatColor() function.
LIB8STATIC fl::u8 random8() FL_NO_EXCEPT
Generate an 8-bit random number.
u8 u8 fract8 blur_amount FL_NO_EXCEPT
CRGB ColorFromPalette(const CRGBPalette16 &pal, fl::u8 index, fl::u8 brightness, TBlendType blendType) FL_NO_EXCEPT
Base definition for an LED controller.
#define FASTLED_SHARED_PTR(type)
Representation of an 8-bit RGB pixel (Red, Green, Blue)