I would like to better understand the math behind animations, 3d and 2d. I recently came across this example via Digg.
http://maettig.com/code/javascript/3d_dots.html
It is pretty interesting and another animation experiment on the same site is just as impressive.
http://maettig.com/code/javascript/swirl.html
With FF 3.1 and WebKit-based browsers (Safari, Chrome and AIR apps) animation with JavaScript is more realistic.
Do you have any suggestions for books on animation?
[Clarification: I am interested in the math for plotting the motion. ]