@marmil Thank you very much for your quick reply and bearing with by beginnerdom. I’m in the middle of nowhere, it’ll take weeks to get another µc…
In my sketch EVERY_N_MILLISECONDS (every 14062 milliseconds to be precise) the paletteIndex++ and then I use
CRGB colour = ColorFromPalette(activePalette, paletteIndex, maxBrightness, LINEARBLEND);
fill_solid(leds, ledCount, colour);
to fill all 144 LEDs with the interpolated colour from the gradient palette over one hour, later to be several hours.
Trouble is, if I now want to have all 144 LEDs shimmer as in https://gist.github.com/kriegsman/88954aae22b03a664081 then I need to set a status flag when PEAK_COLOR or BASE_COLOR is reached. But those are not known from the interpolated palette, or I am at a loss how to find them.
I thought I somehow need to make the if… else… checking independent from hard-coded PEAK and BASE colours, in order to apply the shimmer so nicely demonstrated in that sketch. I already tried to modify the many remotely similar examples I saw, but they are either rhythmic or not granular or they just flicker nervously, instead of shimmering very slowly.
I have been at this for over two weeks now, also taking that HSV detour, but not came no further…