Running the latest on an Uno.

Running the latest on an Uno.

Using something like DemoReel100 as an example, I’m attempting to find a way to fade between patterns.

Ideally, a smooth fade between patterns is what I’m looking for but barring that , fading to black then fading up the next pattern is acceptable.

I’ve tried various implementations of nblend() to no avail.
Dimming up and down by calling FastLED.setBrightness() in a loop is choppy and just feels like the wrong way to go about it.

Using something like:
void nextPattern()
{
for(int i = 0; i < 256; i++)
{
fadeToBlackBy( leds, NUM_LEDS, 1);
FastLED.delay(5);
}
gCurrentPatternNumber = (gCurrentPatternNumber + 1) % ARRAY_SIZE( gPatterns);
}
effectively works to dim the entire strip to black before calling the next pattern at full brightness but I have had no real luck in getting the next pattern to smoothly fade up in brightness.

Any advice or suggestions would be greatly appreciated.