-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
93 lines (75 loc) · 2.53 KB
/
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
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"> <title> DE12 </title>
<link rel="icon" href="favicon.ico" type="image/x-icon"/>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div id="cover"> </div>
<canvas id="canvas"> </canvas>
<div id="panel">
<div>
<div class="text"> MAP SIZE </div>
<div class="divider"> </div>
<input short type="text" value="1200" id="map-width" onchange="changeMapSise()" placeholder="uint">
<div class="divider"> </div>
<input short type="text" value="800" id="map-height" onchange="changeMapSise()" placeholder="uint">
</div>
<div>
<div class="text"> AMOUNT </div>
<div class="divider"> </div>
<input long type="text" value="1000000" id="amount" onchange="changePopulationSize()" placeholder="uint">
</div>
<div>
<div class="button" onclick="pause()"> PAUSE </div>
<div class="divider"> </div>
<div class="button" onclick="resume()"> RESUME </div>
<div class="divider"> </div>
<div class="button" onclick="stretch()"> STRETCH </div>
<div class="divider"> </div>
<div class="button" onclick="respawn()"> RESPAWN </div>
</div>
<div>
<div class="text" id="stats-fr"> FR:00.00 </div>
<div class="divider"> </div>
<div class="text" id="stats-dt"> DT:00.00 </div>
</div>
</div>
<div id="board">
<div class="controller">
<svg id="encoder-so"> </svg>
<div> SO </div>
<div> I </div>
</div>
<div class="controller">
<svg id="encoder-sa"> </svg>
<div> SA </div>
<div> I </div>
</div>
<div class="controller">
<svg id="encoder-ra"> </svg>
<div> RA </div>
<div> I </div>
</div>
<div class="controller">
<svg id="encoder-ms"> </svg>
<div> MS </div>
<div> I </div>
</div>
<div class="controller">
<svg id="encoder-df"> </svg>
<div> DF </div>
<div> I </div>
</div>
<div class="controller">
<svg id="encoder-th"> </svg>
<div> TH </div>
<div> I </div>
</div>
</div>
<script src="scripts/GUIEncoder.js"></script>
<script src="scripts/FPSMeter.js"></script>
<script src="scripts/script.js"></script>
</body>
</html>