Better line drawing
Summary
As of now drawn lines look a bit ugly. The main reason is, that each mouse move sample is just connected with a straight line. This produces ugly edges!
A better approach would be to use some sort of splines. We could try quadraticCurveTo or implement our own custom function. Maybe we can also allow users to adjust a smoothing parameter, this would also allow to make it compatible with the current version (smoothing=0).
As most users are using wacom tablets we could also think about another drawing tool which incorporates pressure and angle of the pen. In theory these things are implemented in the PointerEvent class. To make this work we have to think about an way to determine size by pressure, maybe there is already a established way to do that...
Suggestions welcome
Some references I found: