This is a little different than the animated gif but I think it is interesting.

http://gnome-look.org/content/show.php/All+Day+Long+(Animated+Wallpaper)?content=83443

Basically you make an xml...