15#ifndef FASTLED_FX_ENGINE_MAX_FX
16#define FASTLED_FX_ENGINE_MAX_FX 64
47 void draw(uint32_t now, uint32_t warpedTime,
CRGB *finalBuffer);
75 for (uint32_t i = 0; i <
mNumLeds; i++) {
76 const CRGB& p0 = surface0[i];
77 const CRGB& p1 = surface1[i];
81 if (progress == 255) {
void startTransition(uint32_t now, uint32_t duration, fl::Ptr< Fx > nextFx)
void completeTransition()
void draw(uint32_t now, uint32_t warpedTime, CRGB *finalBuffer)
FxCompositor(uint32_t numLeds)
Defines the red, green, and blue (RGB) pixel struct.
Implements the FastLED namespace macros.
Implements a simple red square effect for 2D LED grids.
static CRGB blend(const CRGB &p1, const CRGB &p2, fract8 amountOfP2)
Representation of an RGB pixel (Red, Green, Blue)