Click to select. Double click to create a new Shape.
link to the javascript file.
link to tutorial
By Simon Sarris - simonsarris.com - sarris (at) acm.org