Could check test/Aclock.cxx and test/Hello.cxx
Good and sophisticated example of the animation
Just try to make those classes and them
root/test> make (or Nmake if you on Windows machine)
root/test> root
root[0] gSystem->Load("Aclock")
root[1] Aclock a;
Enjoy,
Hope this helps
Valery