Kia, It would be very easy to create a repeating animation, simply call the same animation again the callback function.
More importantly, I believe that this is a prefect situation for a gif animation. Doing javascript animations is very hard for the browser and slows down old computers. Gifs have been used for a long time so browsers are quite good at drawing them. ~Sean