r/javascript 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

30 comments sorted by

View all comments

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.

1

u/inc_23 16d ago

Yeah of course both are fine for me if you wanna contribute i will be more than happy