toxi, (edited ) New demo (and last new test case) for the upcoming https://thi.ng/geom release (and related packages): Here parsing a SVG path, converting to an SDF, deforming the SDF and sampling/converting the SDF back into SVG at multiple contour levels... all in just a few lines of code!
Demo:
https://demo.thi.ng/umbrella/geom-sdf-path/Source:
https://github.com/thi-ng/umbrella/blob/develop/examples/geom-sdf-path/src/index.ts(Ps. I will add more comments to the example tomorrow...✌️)
#ThingUmbrella #Geometry #SVG #SDF #Conversion #TypeScript #JavaScript
Add comment