23#define FASTLED_SCALE_UP_ALWAYS_POWER_OF_2 0
26#define FASTLED_SCALE_UP_HIGH_PRECISION 1
31#define FASTLED_SCALE_UP_DECIDE_AT_RUNTIME 2
33#define FASTLED_SCALE_UP_FORCE_FLOATING_POINT 3
35#ifndef FASTLED_SCALE_UP
36#define FASTLED_SCALE_UP FASTLED_SCALE_UP_DECIDE_AT_RUNTIME
41FASTLED_SMART_PTR(ScaleUp);
49 void expand(
const CRGB *input,
CRGB *output, uint16_t width,
50 uint16_t height,
XYMap mXyMap);
52 fl::Str fxName()
const override {
return "scale_up"; }
56 void noExpand(
const CRGB *input,
CRGB *output, uint16_t width,
central include file for FastLED, defines the CFastLED class/object
Demonstrates how to mix noise generation with color palettes on a 2D LED matrix.
void draw(DrawContext context) override
Implements a simple red square effect for 2D LED grids.
Functions to generate and fill arrays with noise.
Fast, efficient random number generators specifically designed for high-performance LED programming.
Representation of an RGB pixel (Red, Green, Blue)