HTML allow 0 ending its, fix tick by render scale

This commit is contained in:
Pitchaya Boonsarngsuk
2018-01-31 13:14:34 +00:00
parent 4bab39a24d
commit 6a297dd17e

View File

@@ -96,7 +96,7 @@
<label title="The number that distance is multiplied by in order to improve the visibility of the graph">
Render Distance Multiplier
<output id="distanceMultiplierSliderOutput">50</output>
<input type="range" min="1" max="1000" value="50" step="5" oninput="d3.select('#distanceMultiplierSliderOutput').text(value); MULTIPLIER=value;ticked();">
<input type="range" min="1" max="1000" value="50" step="5" oninput="d3.select('#distanceMultiplierSliderOutput').text(value); MULTIPLIER=value;alreadyRanIterations--;ticked();">
</label>
<br/>
<label title="Number of iterations before the simulation is stopped">
@@ -160,7 +160,7 @@
<label title="InterpEndingIts">
Interpolation: Micro-adjustment Its
<output id="hlInterpEdningSliderOutput">20</output><br/>
<input type="range" min="1" max="50" value="20" step="1" oninput="d3.select('#hlInterpEdningSliderOutput').text(value); INTERP_ENDING_ITS=value;">
<input type="range" min="0" max="50" value="20" step="1" oninput="d3.select('#hlInterpEdningSliderOutput').text(value); INTERP_ENDING_ITS=value;">
</label>
<br/>
<label title="Number of iterations done at the end">