144 {
145
146
147
149
150
152
153
154 uint32_t now = millis();
155
156
158
159
161
162
163 for (
int i = 0; i <
HEIGHT; i++) {
164 for (
int j = 0; j <
WIDTH; j++) {
165
167
168
169
171
172
173
174
176
177
179 }
180 }
181
182
184}
CFastLED FastLED
Global LED strip management instance.
UISlider speedY("SpeedY", 1.3, 1, 6,.1)
TimeWarp timeScale(0, 1.0f)
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)
CRGB ColorFromPalette(const CRGBPalette16 &pal, uint8_t index, uint8_t brightness, TBlendType blendType)
Representation of an RGB pixel (Red, Green, Blue)