mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-24 04:51:24 +01:00
submap mirror transformation, applicative style
This commit is contained in:
parent
38e708c0ed
commit
d0b7c3aa9a
3 changed files with 40 additions and 17 deletions
22
index.html
22
index.html
|
|
@ -4456,13 +4456,20 @@
|
|||
type="range"
|
||||
min="1"
|
||||
max="13"
|
||||
value="8"
|
||||
data-cells="50000"
|
||||
value="4"
|
||||
data-cells="10000"
|
||||
oninput="document.getElementById('submapPointsOutput').value=cellsDensityConstants[+this.value]/1000 + 'K'; event.stopPropagation()"
|
||||
/>
|
||||
</td>
|
||||
<td>
|
||||
<output id="submapPointsOutput" style="color: #053305">50K</output>
|
||||
<output id="submapPointsOutput" style="color: #053305">10K</output>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Shift</td>
|
||||
<td colspan="2">
|
||||
X: <input id="submapShiftX" autocomplete="off" min="0" size="4" value="0"/>
|
||||
Y: <input id="submapShiftY" autocomplete="off" min="0" size="4" value="0"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
|
@ -4483,10 +4490,13 @@
|
|||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Shift</td>
|
||||
<td>Mirror</td>
|
||||
<td colspan="2">
|
||||
X: <input id="submapShiftX" autocomplete="off" min="0" size="4" value="0"/>
|
||||
Y: <input id="submapShiftY" autocomplete="off" min="0" size="4" value="0"/>
|
||||
<input type="checkbox" class="checkbox" id="submapMirrorH" />
|
||||
<label for="submapMirrorH" class="checkbox-label" >Horizontally</label>
|
||||
|
||||
<input type="checkbox" class="checkbox" id="submapMirrorV" />
|
||||
<label for="submapMirrorV" class="checkbox-label">Vertically</label>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue