HTML 5 Canvas - Drawing and saving experiment

My first taste of HTML 5 - I managed to create a simple drawing tool and save the result on the server as a png file.

Feel free to play around and you can ask any questions here. Also, will take a few seconds after you click 'Save' before your rendered image will appear.

Your browser doesn't support canvas.

Click here to see a gallery of all the user submitted doodles...

For a more complete example...

Take a look at the cool 'doodle' feature of