Fix incomplete commits
This commit is contained in:
@@ -48,11 +48,13 @@ export default function (nodes, config) {
|
||||
function ended() {
|
||||
event.call("startFull");
|
||||
console.log("Ended sample simulation");
|
||||
alert('About to interpolate');
|
||||
interpolation(sample, remainder, sampleSubset, distanceFn);
|
||||
/*
|
||||
if (PIVOTS) {
|
||||
interpolationPivots(sample, remainder, interpSubset, NUMPIVOTS, distance);
|
||||
interpolationPivots(sample, remainder, sampleSubSet, NUMPIVOTS, distance);
|
||||
} else {
|
||||
interpolation(sample, remainder, interpSubset, distance);
|
||||
interpolation(sample, remainder, sampleSubSet, distance);
|
||||
}
|
||||
*/
|
||||
event.call("fullTick");
|
||||
@@ -72,6 +74,8 @@ export default function (nodes, config) {
|
||||
.sampleSize(FullsampleSize)
|
||||
.distanceRange(FulldistanceRange)
|
||||
.distance(distanceFn)
|
||||
.stableVelocity(60)
|
||||
.stableVeloHandler(function(){fullSimulation.stop(); event.call("end");})
|
||||
)
|
||||
.on("tick", function () {
|
||||
event.call("fullTick", fullSimulation);
|
||||
|
||||
Reference in New Issue
Block a user