Shapes

All the interesting stuff is in the JavaScript, so open up a JavaScript console and look at these functions: