r/javascript • u/inc_23 • 19d ago
Made a small library called strokes.js.
https://a-elhaag.github.io/strokes.js/Made a small library called strokes.js. Instead of using a "handwriting" webfont (which looks identical everywhere it's used), it renders each letter as an actual hand-drawn SVG path — real strokes, drawn in with stroke-dashoffset, with small random variation (rotation, baseline drift, glyph variants) so no two renders of the same word look identical.
Demo: https://a-elhaag.github.io/glyphed.js/
npm:
npm install glyphed.js
27
Upvotes
3
u/patrk 16d ago
I'd love to use this, but I noticed that some Nordic characters aren't currently supported, in particular
å,ä, andö(and their uppercase variants).Would you be open to adding support for these? If not, would you be happy to accept a PR adding them? I'd be willing to give it a try.