22 out.
factor = SuperSample::SUPER_SAMPLE_2X;
27 out.
crgbMap = WaveCrgbGradientMapPtr::New(electricBlueFirePal);
33 out.
factor = SuperSample::SUPER_SAMPLE_2X;
38 out.
crgbMap = WaveCrgbGradientMapPtr::New(electricGreenFirePal);
48 int width =
xymap.getWidth();
49 int height =
xymap.getHeight();
56 blend_stack->add(wave_fx_low);
57 blend_stack->add(wave_fx_high);
59 .wave_fx_low = wave_fx_low,
60 .wave_fx_high = wave_fx_high,
61 .blend_stack = blend_stack,
XYMap xymap(WIDTH, HEIGHT, SERPENTINE)
central include file for FastLED, defines the CFastLED class/object
XYMap xyRect(WIDTH, HEIGHT, false)
static XYMap constructRectangularGrid(uint16_t width, uint16_t height, uint16_t offset=0)
#define DEFINE_GRADIENT_PALETTE(X)
Defines a static RGB palette very compactly using a series of connected color gradients.
WaveEffect NewWaveSimulation2D(const XYMap xymap)
WaveFx::Args CreateArgsLower()
WaveFx::Args CreateArgsUpper()
Ptr< T > NewPtr(Args... args)