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 123 of file twinklefox.h.

123 {
126 }
127 drawTwinkleFox(context.leds);
128 }
CRGBPalette16 currentPalette
Definition twinklefox.h:113
void drawTwinkleFox(CRGB *leds)
Definition twinklefox.h:140
CRGBPalette16 targetPalette
Definition twinklefox.h:112
#define EVERY_N_MILLISECONDS(N)
Alias for EVERY_N_MILLIS.
Definition lib8tion.h:1341
void nblendPaletteTowardPalette(CRGBPalette16 &current, CRGBPalette16 &target, uint8_t maxChanges)

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

+ Here is the call graph for this function: