ShaMan123 / erase2d

A simple erasing tool for canvas apps
https://shaman123.github.io/erase2d/
Other
14 stars 4 forks source link

Collapse erased paths #32

Open crystalthoughts opened 3 months ago

crystalthoughts commented 3 months ago

Hi, is it possible to collapse a path down if it gets shortened? I'd like for example the bounding box to shrink accordingly. I understand that's not possible for a shape.

As an aside, is this meant for the Fabric beta only? Might be worth a few more words in the readme :)

ShaMan123 commented 3 months ago

You can try to use path substraction to accomplish that, for example https://github.com/romgrk/2d-geometry Or paper.js The fabric binding is meant for v6, v5 is a waste of time, too many bugs.