172 {
173
174
175
177
178
180
181
182 uint32_t now = millis();
183
184
186
187
189
190
191 for (
int width = 0; width <
WIDTH; width++) {
192 for (
int height = 0; height <
HEIGHT; height++) {
193
194
195 uint8_t palette_index =
197
198
199
201
202
203
204
206
207
209 }
210 }
211
212
214}
FL_DISABLE_WARNING_PUSH FL_DISABLE_WARNING_GLOBAL_CONSTRUCTORS CFastLED FastLED
Global LED strip management instance.
CRGBPalette16 getPalette()
TimeWarp timeScale(0, 1.0f)
uint8_t getPaletteIndex(uint32_t millis32, int width, int max_width, int height, int max_height, uint32_t y_speed)
UISlider speedY("SpeedY", 1.3, 1, 6,.1)
UISlider brightness("Brightness", 1, 0, 1)
CRGB ColorFromPalette(const CRGBPalette16 &pal, uint8_t index, uint8_t brightness, TBlendType blendType)
Representation of an RGB pixel (Red, Green, Blue)