13#ifndef FASTLED_FX_ENGINE_MAX_FX
14#define FASTLED_FX_ENGINE_MAX_FX 64
45 void draw(fl::u32 now, fl::u32 warpedTime,
CRGB *finalBuffer);
74 for (fl::u32 i = 0; i <
mNumLeds; i++) {
75 const CRGB &p0 = surface0[i];
76 const CRGB &p1 = surface1[i];
80 if (progress == 255) {
void startTransition(fl::u32 now, fl::u32 duration, fl::shared_ptr< Fx > nextFx)
void completeTransition()
void draw(fl::u32 now, fl::u32 warpedTime, CRGB *finalBuffer)
FxCompositor(fl::u32 numLeds)
Defines the red, green, and blue (RGB) pixel struct.
Implements the FastLED namespace macros.
shared_ptr< T > make_shared(Args &&... args)
static CRGB blend(const CRGB &p1, const CRGB &p2, fract8 amountOfP2)
Representation of an RGB pixel (Red, Green, Blue)