Remix.run Logo
__jonas 3 days ago

This looks really nice!

I’m currently looking for a nice implementation of stroke expansion (here called outlining) that I can run in the browser, this seems like a good option besides skia (pathkit)[0] and vello/kurbo[1].

Ideally I’d love to be able to expand in a non-uniform way, similar to what Metafont does for bitmap fonts, or what Inkscape allows with its power stroke effect, or even just with a non-uniform ‘nib’ as is possible with FontForge[2].

This doesn’t seem to be something that these bezier libraries generally offer which is understandable, probably a rather niche goal.

[0] https://skia.org/docs/user/modules/pathkit/

[1] https://doc.servo.org/kurbo/stroke/index.html

[2] https://fontforge.org/docs/techref/stroke.html