36#define NUM_LEDS ((WIDTH) * (HEIGHT))
37#define IS_SERPINTINE true
38#define TIME_ANIMATION 1000
59 auto screenmap =
xyMap.toScreenMap();
60 screenmap.setDiameter(.2);
UITitle title("Simple control of an xy path")
UIDescription description("This is more of a test for new features.")
XYMap xyMap(WIDTH, HEIGHT, false)
CFastLED FastLED
Global LED strip management instance.
central include file for FastLED, defines the CFastLED class/object
LED controller for WS2812 LEDs with GRB color order.
static XYPathPtr NewHeartPath()
UISlider offset("Offset", 0.0f, 0.0f, 1.0f, 0.01f)
UISlider steps("Steps", 100.0f, 1.0f, 200.0f, 1.0f)
UISlider length("Length", 1.0f, 0.0f, 1.0f, 0.01f)
void clear(CRGB(&arr)[N])
Implements a simple red square effect for 2D LED grids.
Representation of an RGB pixel (Red, Green, Blue)