173 {
174
175
176
178
179
181
182
183 uint32_t now = millis();
184
185
187
188
190
191
192 for (
int width = 0; width <
WIDTH; width++) {
193 for (
int height = 0; height <
HEIGHT; height++) {
194
195
196 uint8_t palette_index =
198
199
200
202
203
204
205
207
208
210 }
211 }
212
213
215}
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", 128, 0, 255, 1)
CRGB ColorFromPalette(const CRGBPalette16 &pal, fl::u8 index, fl::u8 brightness, TBlendType blendType)
Representation of an RGB pixel (Red, Green, Blue)