So, just out of curiousity, I’ve looked for a library that can do boolean operations on polygons and found polybooljs
.
If you work with Three.js, it doesn’t mean that you have to do all the things with it. There are many good stuff around
I wrote a simple example of using polybooljs + Three.js: