diff --git a/index.html b/index.html index fd2ba0c4..4f5ff82b 100644 --- a/index.html +++ b/index.html @@ -2356,9 +2356,16 @@
diff --git a/main.js b/main.js index e6f95d45..d2ba4053 100644 --- a/main.js +++ b/main.js @@ -1010,8 +1010,10 @@ function calculateTemperatures() { cells.temp = new Int8Array(cells.i.length); // temperature array const tEq = +temperatureEquatorInput.value; - const tPole = +temperaturePoleInput.value; - const tDelta = tEq - tPole; + const tPoleN = +temperaturePoleInput.value; + //TODO Find proper delta to calculate + const tSPole = +temperatureSPoleInput.value; + const tDelta = tEq - tPoleN; const int = d3.easePolyInOut.exponent(0.5); // interpolation function d3.range(0, cells.i.length, grid.cellsX).forEach(function (r) {