mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 01:41:22 +01:00
Added colour, biomes, adjustable height, and changed graph code to use d3 more
This commit is contained in:
parent
a21e7f5ea4
commit
9f54b1e3f0
5 changed files with 174 additions and 83 deletions
16
index.html
16
index.html
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue