Working through stuff I've bookmarked but never got around to doing anything with. (And no, it's not YAN OO shape example).
Javascript subroutines to [link|http://www.walterzorn.com/jsgraphics/jsgraphics_e.htm|Draw Line, Circle, Ellipse (Oval), Polyline, Polygon, Rectangle] in DHTML. Thought others might find it of interest.