I am using paper.js to draw paths along the mouse coordinates. Unfortunatelly the path stroke is having "holes" when the angel of a corner is very small (see picture).
Has anyone an idea how to solve this?
Thanks Robert
As pointed in the comment, using a round stroke cap should mitigate this issue.
That said, this kind of drawing artifact is inherent to the way the Canvas API draws strokes. And Paper.js relies on it to draw its shapes.
This remind me of this issue which was very similar to yours.
I think that the best workaround to avoid this could be to somehow simplify the path so that this very shard angle between close points never happens. Paper.js can help you achieving this (tool min distance, path.smooth(), ...).