I’ve never posted video anywhere, so I need to figure out how to do that. Once I do, I’d be happy to post video. As for the code, it’s not particularly pretty, as I just started teaching myself C++ late last year. Having said that, I’m happy to post some samples anyway. I’ll try to do that when I get home from work tonight.
Looking forward to seeing it!
A youtube account is quickly created and code can be pasted here without an account: https://gist.github.com/
I really like this effect! Thanks for sharing the code!
Here is the code for my Snake animation. The code is instantiated like this:
new SnakeSquare(leds, 20000, 60, 0, TRANSITION::FADE_OUT, 3, 3, 3, false),
Then later the draw method is called.
There is also this header file:
Back to how looks a animation library. I found this yesterday: https://github.com/fuse314/gmaLightMusicHat/blob/master/Effect_FindMe.cpp
The author call only this in a loop:
EffectClass *currEffect;
…
void loop(){
…
// call effect loop
currEffect->step(&cnf, leds, ledsrow);
…
}
In this example:
Ok, every effect lib has a methode with a name ‘step’. Methode step called in loop. I like this idea, maybe a good start.
Please take a look:
Ah, @Gottfried_Mayer s project - here his video: https://www.youtube.com/watch?feature=player_embedded&v=5lxXJYJBU3g
Thanks for mentioning my project 
The trouble I have with the project, is that I haven’t yet figured out how to put the same code in .ino files instead of .h and .cpp files. …but that’s just the perfectionist in me speaking
Maybe someone with more C++ experience could give some helpful advice?
Otherwise I am very happy with this approach, the cnf struct can be easily changed to have more “global” variables for the effects to use (like the array eq7Vol containing sound information) and it is very easy to add new effects to the project.
I don’t know however how easy it would be to make a “general purpose” library out of this.