-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
67 lines (52 loc) · 1.4 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
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Gravity Well</title>
<style>
html,
body {
overflow: hidden;
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
#renderCanvas {
width: 100%;
height: 100%;
touch-action: none;
}
#instructionPlate {
display: block;
position: absolute;
bottom: 33%;
z-index: 100000;
background: rgba(255,255,255,0.78);
font-family: courier;
margin: 0 20px;
padding: 0 20px;
}
#instructionPlate ul {
list-style-type: square;
}
#instructionPlate ul li {
}
#instructionPlate pre {
display: inline-block;
}
</style>
<script src="https://code.jquery.com/pep/0.4.1/pep.js"></script>
</head>
<body>
<div id="instructionPlate">
<h2>Controls</h2>
<ul>
<li>Rotate right: <pre>D</pre> or <pre>→</pre></li>
<li>Rotate left: <pre>A</pre> or <pre>←</pre></li>
<li>Apply forward thrust: <pre>W</pre> or <pre>↑</pre></li>
</ul>
</div>
<div id="settingsPanel"></div>
</body>
</html>