use arrow keys or wasd to move. click screen to draw line
thanks to @DogDestroyer for code and for some drawings please comment any coding problems