72#define CORKSCREW_TURNS 19
79 "Tests the ability to map a cork screw onto a 2D cylindrical surface");
137 static float pos = 0;
160 for (
int dx = 0; dx < 2; ++dx) {
161 for (
int dy = 0; dy < 2; ++dy) {
162 auto data = pos_tile.
at(dx, dy);
164 uint8_t alpha = data.second;
FL_DISABLE_WARNING_PUSH FL_DISABLE_WARNING_GLOBAL_CONSTRUCTORS CFastLED FastLED
Global LED strip management instance.
central include file for FastLED, defines the CFastLED class/object
CLEDController * controller
Base definition for an LED controller.
static XYMap constructRectangularGrid(u16 width, u16 height, u16 offset=0)
UICheckbox cachingEnabled("Enable Tile Caching", true)
UITitle festivalStickTitle("Corkscrew")
Corkscrew corkscrew(CORKSCREW_TURNS, NUM_LEDS)
UICheckbox splatRendering("Splat Rendering", true)
fl::Grid< CRGB > frameBuffer
UICheckbox allWhite("All White", false)
UIDescription festivalStickDescription("Tests the ability to map a cork screw onto a 2D cylindrical surface")
void clear(CRGB(&arr)[N])
@ BGR
Blue, Green, Red (0210)
Functions to generate and fill arrays with noise.
Corkscrew LED strip projection and rendering.
CRGB & nscale8(fl::u8 scaledown)
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 RGB pixel (Red, Green, Blue)