You will also find lots of cool stuff on bezier curves and other math here
http://www.reflektions.com/miniml/te...cat.asp?cat=25
Paul Ortchanian presented on this at flashforward 2007 and all his source code is free to download

mark