Added colour, biomes, adjustable height, and changed graph code to use d3 more

This commit is contained in:
Evolvedexperiment 2020-05-16 09:12:25 +00:00
parent a21e7f5ea4
commit 9f54b1e3f0
5 changed files with 174 additions and 83 deletions

View file

@ -2134,6 +2134,22 @@
</div>
<div id="elevationProfile" class="dialog" style="display: none" width="100%">
<div data-tip="Set height scale">
<div>Height scale:</div>
<div><input id="epScaleRange" type="range" min=1 max=100 value=50></div>
<div>Curve:</div>
<div>
<select id="epCurve">
<option>Linear</option>
<option selected>Basis spline</option>
<option>Bundle</option>
<option>Cubic Catmull-Rom</option>
<option>Monotone X</option>
<option>Natural</option>
</select>
</div>
</div>
<div id="elevationGraph" data-tip="Elevation profile"></div>
</div>