22#define FASTLED_SCALE_UP_ALWAYS_POWER_OF_2 0
25#define FASTLED_SCALE_UP_HIGH_PRECISION 1
30#define FASTLED_SCALE_UP_DECIDE_AT_RUNTIME 2
32#define FASTLED_SCALE_UP_FORCE_FLOATING_POINT 3
34#ifndef FASTLED_SCALE_UP
35#define FASTLED_SCALE_UP FASTLED_SCALE_UP_DECIDE_AT_RUNTIME
40FASTLED_SMART_PTR(ScaleUp);
48 void expand(
const CRGB *input,
CRGB *output, uint16_t width,
49 uint16_t height,
XYMap mXyMap);
51 fl::Str fxName()
const override {
return "scale_up"; }
55 void noExpand(
const CRGB *input,
CRGB *output, uint16_t width,
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)