I've found the interesting solution. It looks like animation but in reality it is an ENDLESS videoshow. In other words it's the video is generating in realtime using powerful videocard. Take a look at this demo: Dynamic Painting Demo
I think it's cool, isn't it?