Not sure if it helps, but I was building an app that made poly hulls from transparent pngs to export as json for box2d(🤔 10 years ago) & I used psimpl (to build a simple polyline) & poly2tri (Delaunay triangulation) to generate convex hulls with holes. I had no super clear idea of what I was doing 😅