Hello! I am building a React Native app that controls ESP8266 via WebSockets and one of the features of the app is that you can create a gradient of colors, upload it to the ESP chip and make the gradient shift along the strip.
So I have a gradient crossfade strategy question. Using FastLED library, what would be the way to set a strip of lights as a gradient, and then shift this gradient back and forth along the strip?
I know I can use fill_gradient function to set the strip to a gradient, but how can I then make this gradient move along the strip?
One thing I noticed was that it is hard to make the speed of the shifting easily adjustable.
I will try another method today, creating a color palette from the gradient via blend function and then using ColorFromPalette to fill the LEDs from this gradient palette and shift the index there.