Here's a great flash presentation that explains it all. http://gregegan.customer.netspace.net.au/APPLETS/20/20.html
Neat! Good demo.