tonic + npm: d3-voronoi

node v0.12.18
endpointsharetweet
v = require("d3-voronoi").voronoi(); vertices = [[47.307,105.33],[51.707,14.13],[52.717,110.74],[53.917,106.34]]; console.log(v.triangles(vertices)); vertices[3][1] += 0.001 console.log(v.triangles(vertices));
Created from: https://tonicdev.com/npm/d3-voronoi
Loading…

no comments

    sign in to comment