toxi, (edited )
@toxi@mastodon.thi.ng avatar

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...✌️)

  • All
  • Subscribed
  • Moderated
  • Favorites
  • typescript
  • magazineikmin
  • rosin
  • Youngstown
  • ngwrru68w68
  • khanakhh
  • slotface
  • InstantRegret
  • mdbf
  • GTA5RPClips
  • kavyap
  • thenastyranch
  • DreamBathrooms
  • everett
  • tacticalgear
  • JUstTest
  • tester
  • Durango
  • cubers
  • ethstaker
  • cisconetworking
  • modclub
  • osvaldo12
  • Leos
  • normalnudes
  • megavids
  • provamag3
  • anitta
  • lostlight
  • All magazines