I ported the javascript d3 Delaunay library to java for a project. Just wanna share it here in case anyone need it.
it can be found on https://real-john-cheung.github.io/d3-delaunay-for-processing/ (just ignore the plain design)
Cheers
I ported the javascript d3 Delaunay library to java for a project. Just wanna share it here in case anyone need it.
it can be found on https://real-john-cheung.github.io/d3-delaunay-for-processing/ (just ignore the plain design)
Cheers
is this yours and is there a way to retrieve the center of the points. I’m asking that I can use the winding number algorithm along with a distance check to save on computation to hover over triangles and voronois.
Hi paulgoux, this is a port of the Delaunay module of d3.js. By the Center of the points do you mean the geometrical centre of the bounding hull? If so you can get the hull object and calculate from it.
「paul goux via Processing Foundation <notifications@processingfoundation1.discoursemail.com>」在 2023年2月23日 週四,上午5:22 寫道: