This is just a project i have to do for school, but, feel free to use it however you want. Use the arrow keys to move the pencil. ( Up Arrow, Down Arrow, Left Arrow, Right Arrow. ) Hold down the "A" key to draw. Press the "Space Bar" to clear the drawing.
I made this project using some code from my other projects, and some random code.