105 {
108 uint32_t now = millis();
111 for (
int i = 0; i <
HEIGHT; i++) {
112 for (
int j = 0; j <
WIDTH; j++) {
117 }
118 }
120}
CFastLED FastLED
Global LED strip management instance.
TimeScale timeScale(0, 1.0f)
UISlider speedY("SpeedY", 1.3, 1, 6,.1)
UISlider brightness("Brightness", 255, 0, 255, 1)
CRGBPalette16 getPalette()
uint8_t getPaletteIndex(uint32_t millis32, int i, int j, uint32_t y_speed)
XYMap xyMap(HEIGHT, WIDTH, SERPENTINE)
RGB color palette with 16 discrete values.
CRGB ColorFromPalette(const CRGBPalette16 &pal, uint8_t index, uint8_t brightness, TBlendType blendType)
Get a color from a palette.
Representation of an RGB pixel (Red, Green, Blue)