Change logging
This commit is contained in:
@@ -227,9 +227,6 @@ function ended() {
|
||||
return d.y*MULTIPLIER;
|
||||
});
|
||||
//}
|
||||
console.log("Post stress", d3.calculateStress(nodes, function (n, m) {
|
||||
return distanceFunction(n, m, props, norm);
|
||||
}));
|
||||
|
||||
if (p1 !== 0) {
|
||||
// Performance time measurement
|
||||
@@ -243,6 +240,9 @@ function ended() {
|
||||
p1 = 0;
|
||||
p2 = 0;
|
||||
}
|
||||
console.log("Post stress", d3.calculateStress(nodes, function (n, m) {
|
||||
return distanceFunction(n, m, props, norm);
|
||||
}));
|
||||
}
|
||||
|
||||
function brushEnded() {
|
||||
|
||||
@@ -16,12 +16,13 @@ function startHybridSimulation() {
|
||||
let forceSample = d3.forceNeighbourSampling()
|
||||
.neighbourSize(NEIGHBOUR_SIZE)
|
||||
.sampleSize(SAMPLE_SIZE)
|
||||
.stableVelocity(0)
|
||||
.stableVelocity(0.43)
|
||||
.distance(distance)
|
||||
|
||||
let forceFull = d3.forceNeighbourSampling()
|
||||
.neighbourSize(FULL_NEIGHBOUR_SIZE)
|
||||
.sampleSize(FULL_SAMPLE_SIZE)
|
||||
.stableVelocity(0.6)
|
||||
.distance(distance)
|
||||
|
||||
let hybridSimulation = d3.hybridSimulation(simulation, forceSample, forceFull)
|
||||
|
||||
Reference in New Issue
Block a user