Hi, I kinda stuck with a problem, and need an idea where to.

Hi, I kinda stuck with a problem, and need an idea where to.
Basically, I want to animate palettes on a single led strip using sin8 and noise8.

Here is the code that does the animation: http://pastebin.com/T2rL2AVR

The problem is, moving the entire palette forward (thats what animates it effectively) by +1 for each frame is too fast.

So, i come up with an idea, to add a frame counter, that only advance the steps every x frame (20 at max seemed like a good number) However, that just made animation very blocky. since its simulates low fps.

How can i slow down the animations while maintaining its smoothness?

That seems very complicated. Try adding a delay(5) or delay(10) at the end of the animation processing instead of the calculations. I use them to slow down processing on several examples, and I still get good smooth animations. A 5 ms delay is still human imperceptible, but might do the trick. Try some values and see what happens.