use left right up and down arrow keys to change the shape and pattern of the thing being drawn also press space key to delete.
I would like to say thanks to a book called computer graphics which I took a bit of it's coding to help me.( most of it by me though)