Remove other neighbour sampling

This commit is contained in:
Pitchaya Boonsarngsuk
2018-01-31 21:17:08 +00:00
parent ab5d22ce1d
commit b6c730ead1
4 changed files with 1 additions and 461 deletions

View File

@@ -9,7 +9,7 @@ function startNeighbourSamplingSimulation() {
simulation.stop();
p1 = performance.now();
let force = d3.forceNeighbourSamplingDistance()
let force = d3.forceNeighbourSampling()
.neighbourSize(NEIGHBOUR_SIZE)
.sampleSize(SAMPLE_SIZE)
.distance(function (s, t) {