12#define NUM_LEDS (WIDTH * HEIGHT)
13#define BLUR_AMOUNT 172
16#define SERPENTINE true
30 static int x = random(
WIDTH);
37 uint8_t r = random(255);
38 uint8_t g = random(255);
39 uint8_t b = random(255);
XYMap xymap(WIDTH, HEIGHT, SERPENTINE)
CFastLED FastLED
Global LED strip management instance.
central include file for FastLED, defines the CFastLED class/object
WS2812B controller class.
@ GRB
Green, Red, Blue (0102)
void blur2d(CRGB *leds, uint8_t width, uint8_t height, fract8 blur_amount, const XYMap &xymap)
Two-dimensional blur filter.
#define EVERY_N_MILLISECONDS(N)
Alias for EVERY_N_MILLIS.
Implements a simple red square effect for 2D LED grids.
Representation of an RGB pixel (Red, Green, Blue)