FastLED 3.9.15
|
void fill_palette_circular | ( | CRGB * | L, |
uint16_t | N, | ||
uint8_t | startIndex, | ||
const PALETTE & | pal, | ||
uint8_t | brightness = 255, | ||
TBlendType | blendType = LINEARBLEND, | ||
bool | reversed = false ) |
Fill a range of LEDs with a sequence of entries from a palette, so that the entire palette smoothly covers the range of LEDs.
PALETTE | the type of the palette used (auto-deduced) |
L | pointer to the LED array to fill |
N | number of LEDs to fill in the array |
startIndex | the starting color index in the palette |
pal | the color palette to pull colors from |
brightness | brightness value used to scale the resulting color |
blendType | whether to take the palette entries directly (NOBLEND) or blend linearly between palette entries (LINEARBLEND) |
reversed | whether to progress through the palette backwards |
Definition at line 2117 of file colorutils.h.
References brightness, ColorFromPalette(), and LINEARBLEND.