Paint a stroke by using the mouse. When Play is pressed, the stroke is painted, then all y-coordinates change sign, and the resulting stroke is painted.