humanlines
A NPM package to draw lines that look like they were created by a human. Because who wants boring straight lines anyway? See this blog post for more information.
npm install --save humanlines
Usage example:
const humanLines = ; // generate a pencil-like texture... (optional)const texture = humanLines; const canvas = document;const ctx = canvas;const pattern = ctx; ctxstrokeStyle = pattern;ctxlineWidth = 3;const a = 10;const w = 160;ctx; ctx;humanLines;humanLines; humanLines;humanLines;humanLines;humanLines;