3 ms·
I was going to ask if Slug can be used as a general vector renderer. Or does it assume limits on e.g. number of curves/paths per area that are typical of fonts
by Ono-Sendai 8mo ago
I was going to ask if Slug can be used as a general vector renderer. Or does it assume limits on e.g. number of curves/paths per area that are typical of fonts?
- kevthecoder 8mo agoEric answered a similar question on the Discord channel saying Slug is suitable for generic vector graphics. He recommends checking out the demo at https://sluglibrary.com/ https://sluglibrary.com/ (you can cycle through the examples with the space bar).
- Ono-Sendai 8mo agoAwesome, thanks.
- Lichtso 8mo agoI think it is limited to integral quadratic bezier curves, which is sufficient for text rendering. But general purpose vector graphics almost certainly want rational cubic bezier curves too.
- elengyel 8mo agoThe Slug Library can convert each cubic curve into a small set of quadratic curves that approximate extremely well.