FastLED 3.9.15
|
Functions for blending colors together.
Functions | |
CHSV | blend (const CHSV &p1, const CHSV &p2, fract8 amountOfP2, TGradientDirectionCode directionCode=SHORTEST_HUES) |
Computes a new color blended some fraction of the way between two other colors. | |
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. | |
CRGB | blend (const CRGB &p1, const CRGB &p2, fract8 amountOfP2) |
Computes a new color blended some fraction of the way between two other colors. | |
CRGB * | blend (const CRGB *src1, const CRGB *src2, CRGB *dest, uint16_t count, fract8 amountOfsrc2) |
Computes a new blended array of colors, each some fraction of the way between corresponding elements of two source arrays of colors. | |
CHSV & | nblend (CHSV &existing, const CHSV &overlay, fract8 amountOfOverlay, TGradientDirectionCode directionCode=SHORTEST_HUES) |
Destructively modifies one color, blending in a given fraction of an overlay color. | |
void | nblend (CHSV *existing, const CHSV *overlay, uint16_t count, fract8 amountOfOverlay, TGradientDirectionCode directionCode=SHORTEST_HUES) |
Destructively blends a given fraction of a color array into an existing color array. | |
CRGB & | nblend (CRGB &existing, const CRGB &overlay, fract8 amountOfOverlay) |
Destructively modifies one color, blending in a given fraction of an overlay color. | |
void | nblend (CRGB *existing, const CRGB *overlay, uint16_t count, fract8 amountOfOverlay) |
Destructively blends a given fraction of a color array into an existing color array. | |