1 Comment
Mar 30, 2022Liked by wentin

Paper.js has some of these operations that you could either study, or use directly. Divide seems the most relevant.

https://github.com/paperjs/paper.js/blob/develop/src/path/PathItem.Boolean.js#L1221

Expand full comment