hold c to clear. z to turn left. x to turn right. space bar to start. For some reason, when you turn initially the line goes straight quickly before going back to turning. if anyone knows how to fix that, please tell me how. To bypass the glitch, hold the keys down really hard. this only sometimes works, but it's the best I've got. Click 1 too set background to black. 0 sets it to white again. For best results, stay within the box. I know it is small, but read ScretAgent100's comment and see for yourself. After reading his comment, I tested it myself and found that it's more than 15 pixels. Also, keep the turn variables reasonably low. That works the best. Thanks!
Thanks to SecretAgent100 for his help and support. I got the original idea after seeing poly-draw by ctyrm1. I left a link to poly-draw in the comments.