FastLED 3.9.15
|
void fill_gradient | ( | T * | targetArray, |
uint16_t | numLeds, | ||
const CHSV & | c1, | ||
const CHSV & | c2, | ||
TGradientDirectionCode | directionCode = SHORTEST_HUES ) |
Fill a range of LEDs with a smooth HSV gradient between two HSV colors.
targetArray | a pointer to the color array to fill |
numLeds | the number of LEDs to fill |
c1 | the starting color in the gradient |
c2 | the end color for the gradient |
directionCode | the direction to travel around the color wheel |
Definition at line 304 of file colorutils.h.
References fill_gradient(), and SHORTEST_HUES.