156 {
157
158 uint32_t now = millis();
160
161 for (
int i = 0; i <
NUM_LEDS; i++) {
162
167
171
173
175
176 uint8_t sat = int32_t((
x * 10 +
y * 5 + now / 5)) % 256;
177
179 }
180
182}
CFastLED FastLED
Global LED strip management instance.
UISlider ledsScale("Leds scale", 0.1f, 0.1f, 1.0f, 0.01f)
fl::vector< vec3f > mapCorkScrew
UISlider brightness("Brightness", 255, 0, 255, 1)
uint16_t inoise16(uint32_t x, uint32_t y, uint32_t z, uint32_t t)
16-bit, fixed point implementation of Perlin's noise.
long map(long x, long in_min, long in_max, long out_min, long out_max)
void clear(CRGB(&arr)[N])
FASTLED_FORCE_INLINE T clamp(T value, T min, T max)
Representation of an HSV pixel (hue, saturation, value (aka brightness)).