Closed Fil closed 5 years ago
fixed the points in the triangles, which fixes the notebook.
there's still some cleaning to do, but it's going to be a bit difficult:
just to keep a record and because this image is #d3BrokeAndMadeArt
My commit broke the .triangles method… EDIT: it was most probably the projection introduced in https://github.com/Fil/d3-geo-voronoi/commit/4b9aee7f0bfd84cdc962f97e4dc1d2b9e001f926; reverted in https://github.com/Fil/d3-geo-voronoi/commit/f012fe519fa810e1b9e8def4de1c3e4468d455d9 because it's sucking all my energy and I can't find the solution.
Removing fake triangles is not my priority. In the current version there are 4 of them, they are cleanly labeled (pivot,pivot,pivot) and have halfedges set to -1.
The underlying delaunay has these fake points; we should clean the triangulation so that is only contains triangles of real points, and so that it's completely wrapped.
See https://observablehq.com/d/96343ca0e27ad9d4