Sketchpad
This is a simple drawing application written in Retro. Click on a color to select it, and then draw while holding the mouse button down. You can look at the code for this app and the canvas library.
Thanks to a third party library, you can also save your drawing as a PNG image.