hold mouse to draw and space to reset.
credit to shadowcraftertsms for the pen movement code. otherwise all of the code is mine.