Use the mouse (click and drag) to draw. The light gray line shows a regular pen drawing as compared to the smoother blue one. As you decease accuracy the line gets smoother.
All credit goes to @PullJosh, all I did was change some things to make the lines even smoother, without decreasing accuracy. The lower the accuracy variable, the lower the accuracy. You can clearly see the difference between the grey and blue lines