-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
45 lines (45 loc) · 1.31 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
<!doctype html>
<html>
<head>
<meta charset=”utf-8”>
<title>SpaceTrash</title>
<style>
body {
margin: 0px;
background-color: #000000;
color: #fff;
overflow: hidden;
font-size: 18px;
font-family: "Courier New","Lucida Console", monospace;
}
button {
background-color: #555555;
border: none;
color: white;
padding: 5px 22px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
border: 2px solid white;
}
</style>
<script src="js/three.js"></script>
<script src="js/planet.js"></script>
</head>
<body>
<p id="txt">
Choose difficulty to play!
</p>
Difficulty (number of trash pieces):
<button id = "Button5">5</button>
<button id = "Button10">10</button>
<button id = "Button20">20</button>
<button id = "ButtonC">Toggle camera</button>
<button id = "ButtonHelp">How to play</button>
<script>
init();
animate();
</script>
</body>
</html>