FastLED 3.9.15
Loading...
Searching...
No Matches

◆ draw()

void fl::TwinkleFox::draw ( DrawContext context)
inlineoverridevirtual
Parameters
nowThe current time in milliseconds. Fx writers are encouraged to use this instead of millis() directly as this will more deterministic behavior.

Implements fl::Fx.

Definition at line 125 of file twinklefox.h.

125 {
128 }
129 drawTwinkleFox(context.leds);
130 }
CRGBPalette16 currentPalette
Definition twinklefox.h:115
void drawTwinkleFox(CRGB *leds)
Definition twinklefox.h:142
CRGBPalette16 targetPalette
Definition twinklefox.h:114
void nblendPaletteTowardPalette(CRGBPalette16 &current, CRGBPalette16 &target, uint8_t maxChanges)
Alter one palette by making it slightly more like a "target palette".
#define EVERY_N_MILLISECONDS(N)
Alias for EVERY_N_MILLIS.
Definition lib8tion.h:1359

References currentPalette, drawTwinkleFox(), EVERY_N_MILLISECONDS, fl::_DrawContext::leds, nblendPaletteTowardPalette(), and targetPalette.

+ Here is the call graph for this function: