polybooljs
The polybooljs library is the result of my research into polygon clipping algorithms. It can clip polygons against each other using boolean operations (union, intersection, xor, difference), and can handle coincident edges.
I updated and ported the library to TypeScript – it’s faster and uses ES modules:
- polybool on GitHub (2024)
- @velipso/polybool on npm (2024)