You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a new refine(triangles, vertices, dimensions) function that takes an arbitrary triangulation (including earcut output) and refines it into a constrained Delaunay triangulation, radically improving triangulation quality at a small cost (+40% on top of earcut time on average). It's +0.5KB to the bundle but gets tree-shaken by modern bundlers if you don't use it.