CSS Drawing

This page shows a simple example of using CSS classes to "draw" on the canvas I've placed below. Simply choose a color from the palette and click on the canvas to draw. The interface is very primitive because this is a very inefficient way to draw an image (the delay at page load is due to setting up thousands of canvas pixels).
Color Swatch
    
    
    
    
Canvas
x: 0, y: 0, pen up