perfect-freehand

perfrect-freehand by Steve Ruiz allows to draw perfrect pressure-sensitive freehand lines and export them to SVG. You can install it as an npm package and use the getStroke function with an array of input points. The getStroke will return an array of outline points that form a polygon that surrounds the input points. Checkout the README on GitHub.

Comments