Hey guys, I am a noob, so i’m sure this is a dumb question but Is there a way to cycle through colors in a palette without blending the colors, so as an example i have an orange and purple color palette, but it goes from orange to pink to purple instead of just purple.
By default, color palettes will interpolate colors between those specified. If you don’t want interpolation, I think you can just manually specify all 16 colors, like this: https://github.com/FastLED/FastLED/blob/master/examples/ColorPalette/ColorPalette.ino#L126
You can also try the NOBLEND blending type, which you can pass in as a fourth argument to the ColorFromPalette function. See https://github.com/FastLED/FastLED/blob/master/examples/ColorPalette/ColorPalette.ino for an example.
What @Jason_Coon said. You just treat it as an array and step through the colors in a for loop, without using ColorFromPalette.
Here’s some information on using the FastLED fill_gradient command.
For this, I’d like to use the CHSV colour scale, which ranges from 0 - 255. If you wrap the ends around, you get a continuous circle. Here’s some fill gradient examples you can use:
Here’s a complete fill_gradient example:
Thank you guys for the responses I will try to give that a shot