Skip to content

v3.2.0

Choose a tag to compare

@mourner mourner released this 30 Jun 20:50
  • 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.
  • Add a new demo for the project.