To start painting, just click. To stop painting, press the space bar. To clear the screen, press c. And to go on "erase mode", press e. There are color samples that you can choose from on the bottom of the stage. If you want to select one of them, just press the numbers 1-9 depending on the position of the color samples (ex. green=1, dark blue=3, orange=9, etc.) and the color that you have currently selected will be displayed on the orange box right next to the color samples. And to change the brush size press the left and right arrow keys to go higher or lower
Did not take much effort to complete. Just a program that will be on the new OS I am making: http://scratch.mit.edu/projects/10173875/