192 {
193
194 for (
int i = 0; i <
NUM_LEDS; i++) {
195
200
204
206
207 uint8_t
brightness = map(noise_value, 0, 65535, 0, 255);
208
209 uint8_t sat = int32_t((
x * 10 +
y * 5 + now / 5)) % 256;
210
212 }
213}
UISlider brightness("Brightness", 128, 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.
FASTLED_FORCE_INLINE T clamp(T value, T min, T max)
UISlider ledsScale("Leds scale", 0.1f, 0.1f, 1.0f, 0.01f)
fl::vector< vec3f > mapCorkScrew
Representation of an HSV pixel (hue, saturation, value (aka brightness)).