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

121 {
124 }
125 drawTwinkleFox(context.leds);
126 }
CRGBPalette16 currentPalette
Definition twinklefox.h:111
void drawTwinkleFox(fl::span< CRGB > leds)
Definition twinklefox.h:138
CRGBPalette16 targetPalette
Definition twinklefox.h:110
#define EVERY_N_MILLISECONDS(N)
Alias for EVERY_N_MILLIS.
Definition lib8tion.h:1045
void nblendPaletteTowardPalette(CRGBPalette16 &current, CRGBPalette16 &target, fl::u8 maxChanges)

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

+ Here is the call graph for this function: