FastLED 3.9.15
|
CHSV * blend | ( | const CHSV * | src1, |
const CHSV * | src2, | ||
CHSV * | dest, | ||
uint16_t | count, | ||
fract8 | amountOfsrc2, | ||
TGradientDirectionCode | directionCode = SHORTEST_HUES ) |
Computes a new blended array of colors, each some fraction of the way between corresponding elements of two source arrays of colors.
Useful for blending palettes.
src1 | the first array of colors to blend |
src2 | the second array of colors to blend |
dest | the destination array for the colors |
count | the number of LEDs to blend |
amountOfsrc2 | the fraction of src2 to blend into src1 |
directionCode | the direction to travel around the color wheel |
Definition at line 431 of file colorutils.cpp.
References blend().