156 {
157
158
159
161
162
164
165
167
168
170
171
173
174
175 for (
int i = 0; i <
WIDTH; i++) {
176 for (
int j = 0; j <
HEIGHT; j++) {
177
179
180
181
183
184
185
186
188
189
191 }
192 }
193
194
196}
fl::UISlider brightness("Brightness", BRIGHTNESS, 0, 255)
FL_DISABLE_WARNING_PUSH FL_DISABLE_WARNING_GLOBAL_CONSTRUCTORS CFastLED FastLED
Global LED strip management instance.
fl::TimeWarp timeScale(0, 1.0f)
fl::UISlider speedY("SpeedY", 1.3, 1, 6,.1)
uint8_t getPaletteIndex(uint32_t millis32, int i, int j, uint32_t y_speed)
fl::CRGBPalette16 getPalette()
CRGB ColorFromPalette(const CRGBPalette16 &pal, fl::u8 index, fl::u8 brightness, TBlendType blendType)
fl::u32 millis()
Universal millisecond timer - returns milliseconds since system startup.
Representation of an 8-bit RGB pixel (Red, Green, Blue)