Just watch Added the smoothing you asked for. I made changes in the pen sprite The frame delay variable would remove the doubling of the lines, but would reduce the perceived frame rate.