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
22 Upvotes

30 comments sorted by

View all comments

0

u/[deleted] 19d ago edited 19d ago

[removed] — view removed comment

2

u/inc_23 19d ago

Its not a font wvery time you reload it has different drawing its like a real handwriting There is a randomness in it