Toying with a new/different SVG parser based on 'nanosvg'
Toying with a new/different SVG parser based on 'nanosvg'
Convert from beziers to line segments in pure #RStats.
Here's the tiger, once with false colour, once with real colours. Plotted with #ggplot geom_polygon()
Feeling pretty good for a bit of lazy #WeekendCoding
Still some polygon vs polyline things to work out. And subpaths / fillrules.
You can see some artefacts under the eye on the right where polygons are drawn, but they should be polylines.
Probable lines (rather than polygons)