-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
23 lines (23 loc) · 996 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<html>
<head>
<title>Pixel World</title>
</head>
<body>
<h1>Pixel World</h1>
<div class="main">
<canvas id="world" width="1200" height="600" style="border: 1px solid black; background-color: black; display: inline-block;"></canvas>
<div id="top-species" style="display: inline-block; width:400px; height:600px; float: right; border: 1px solid red;"></div>
<button id="toggle-render-top-species">Toggle render top species</button>
</div>
<div class="controls">
<span>Time: <span id="time"</span></span>
<span>TPS: <span id="ticksPerSecond"</span></span>
<button id="toggle-pause">Play/Pause</button>
<button id="toggle-render-fullness-percent">Toggle render fullness percent</button>
<button id="toggle-render-world">Toggle render world</button>
<input id="interval-control" name="Loop Speed" type="range" min="0" max="1000">
</div>
<script src="./pixel-world.tsx"></script>
</body>
</html>