FastLED 3.9.15
Loading...
Searching...
No Matches
ColorBoost.h File Reference
#include "FastLED.h"
#include "fl/ease.h"
+ Include dependency graph for ColorBoost.h:

Go to the source code of this file.

Macros

#define BRIGHTNESS   255
 
#define COLOR_ORDER   GRB
 
#define DATA_PIN   3
 
#define DATA_PIN_2   4
 
#define LED_TYPE   WS2811
 
#define NUM_LEDS_PER_STRIP   16
 
#define NUM_STRIPS   16
 
#define TOTAL_LEDS   (NUM_LEDS_PER_STRIP * NUM_STRIPS)
 

Functions

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.")
 
EaseType getEaseType (int value)
 
void loop ()
 
UIDropdown luminanceFunction ("Luminance Function", easeOptions)
 
void rainbowWave ()
 
UISlider satSlider ("Saturation", 60, 0, 255, 1)
 
UIDropdown saturationFunction ("Saturation Function", easeOptions)
 
void setup ()
 
UITitle title ("ColorBoost")
 

Variables

fl::string easeOptions []
 
CRGB leds [TOTAL_LEDS]
 
fl::XYMap xyMap