18UIDescription description(
"ColorBoost is a function that boosts the saturation of a color without decimating the color from 8 bit -> gamma -> 8 bit (leaving only 8 colors for each component). Use the dropdown menus to select different easing functions for saturation and luminance. Use legacy gfx mode (?gfx=0) for best results.");
49#define LED_TYPE WS2811
50#define COLOR_ORDER GRB
51#define NUM_LEDS_PER_STRIP 16
53#define TOTAL_LEDS (NUM_LEDS_PER_STRIP * NUM_STRIPS)
101 uint16_t
time = millis() / 16;
102 uint8_t hueOffset = millis() / 32;
116 uint8_t bri = 128 + (wave / 2);
134 float r = original_color.r / 255.f;
135 float g = original_color.g / 255.f;
136 float b = original_color.b / 255.f;
UISlider satSlider("Saturation", 60, 0, 255, 1)
#define NUM_LEDS_PER_STRIP
EaseType getEaseType(int value)
UIGroup colorBoostControls("Color Boost", satSlider, saturationFunction, luminanceFunction)
UIDescription description("ColorBoost is a function that boosts the saturation of a color without decimating the color from 8 bit -> gamma -> 8 bit (leaving only 8 colors for each component). Use the dropdown menus to select different easing functions for saturation and luminance. Use legacy gfx mode (?gfx=0) for best results.")
UIDropdown luminanceFunction("Luminance Function", easeOptions)
UIDropdown saturationFunction("Saturation Function", easeOptions)
UITitle title("ColorBoost")
FL_DISABLE_WARNING_PUSH FL_DISABLE_WARNING_GLOBAL_CONSTRUCTORS CFastLED FastLED
Global LED strip management instance.
central include file for FastLED, defines the CFastLED class/object
#define FL_ASSERT(x, MSG)
static XYMap constructRectangularGrid(u16 width, u16 height, u16 offset=0)
@ TypicalLEDStrip
Typical values for SMD5050 LEDs.
#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)).