98 {
99
100
101 uint16_t
time = millis() / 16;
102 uint8_t hueOffset = millis() / 32;
103
104
107
108
110
111
113
114
115
116 uint8_t bri = 128 + (wave / 2);
117
118
120
121
122
123
125
128
132 } else {
133
134 float r = original_color.r / 255.f;
135 float g = original_color.g / 255.f;
136 float b = original_color.b / 255.f;
137
138 r = pow(r, 2.0);
139 g = pow(g, 2.0);
140 b = pow(b, 2.0);
141
142 r = r * 255.f;
143 g = g * 255.f;
144 b = b * 255.f;
145
147 }
148 }
149 }
150}
UISlider satSlider("Saturation", 60, 0, 255, 1)
#define NUM_LEDS_PER_STRIP
EaseType getEaseType(int value)
UIDropdown luminanceFunction("Luminance Function", easeOptions)
UIDropdown saturationFunction("Saturation Function", easeOptions)
#define sin8
Platform-independent alias of the fast sin implementation.
fl::u32 time()
Universal millisecond timer - returns milliseconds since system startup.
CRGB colorBoost(fl::EaseType saturation_function=fl::EASE_NONE, fl::EaseType luminance_function=fl::EASE_NONE) const
Representation of an RGB pixel (Red, Green, Blue)
Representation of an HSV pixel (hue, saturation, value (aka brightness)).