it eventually to take advantage of the
canvas element, but for now, feel free to play
around with this page or the stand-alone page.
Like I said above, this is old stuff, and not my best work, but I'm including it here for archival purposes. The code depends upon some CSS classes as well (shown farther below).
canvas element for painting