70#define CORKSCREW_TURNS 19
77 "Tests the ability to map a cork screw onto a 2D cylindrical surface");
134 static float pos = 0;
157 for (
int dx = 0; dx < 2; ++dx) {
158 for (
int dy = 0; dy < 2; ++dy) {
159 auto data = pos_tile.
at(dx, dy);
161 uint8_t alpha = data.second;
fl::UICheckbox allWhite("All White", false)
FL_DISABLE_WARNING_PUSH FL_DISABLE_WARNING_GLOBAL_CONSTRUCTORS CFastLED FastLED
Global LED strip management instance.
CLEDController * controller
static XYMap constructRectangularGrid(u16 width, u16 height, u16 offset=0) FL_NOEXCEPT
fl::CLEDController CLEDController
fl::UICheckbox splatRendering("Splat Rendering", true)
fl::UITitle festivalStickTitle("Corkscrew")
fl::Corkscrew corkscrew(CORKSCREW_TURNS, NUM_LEDS)
fl::Grid< CRGB > frameBuffer
fl::UICheckbox cachingEnabled("Enable Tile Caching", true)
fl::UIDescription festivalStickDescription("Tests the ability to map a cork screw onto a 2D cylindrical surface")
Centralized logging categories for FastLED hardware interfaces and subsystems.
void clear(CRGB(&arr)[N])
Corkscrew LED strip projection and rendering.
CRGB & nscale8(u8 scaledown) FL_NOEXCEPT
Scale down a RGB to N/256ths of its current brightness, using "plain math" dimming rules.
@ Blue
<div style='background:#0000FF;width:4em;height:4em;'></div>
Representation of an 8-bit RGB pixel (Red, Green, Blue)