-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
37 lines (31 loc) · 1.16 KB
/
index.html
File metadata and controls
37 lines (31 loc) · 1.16 KB
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Solar System</title>
<script src="js\phaser.min.js"></script>
<script
src="https://code.jquery.com/jquery-3.2.1.min.js"
integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4="
crossorigin="anonymous"></script>
<script src="js\main.js"></script>
<link rel="stylesheet" type="text/css" href="css\style.css">
<link rel="icon" type="image/x-icon" href="favicon.ico">
</head>
<body>
<h1>Solar System</h1>
<div id="canvas"></div>
<!--
TODO: Maybe put buttons on container, like a ship's control panel.
-->
<div class="optionsBox" title="Toggle the correct number of moons for each planet.">
Show more moons
<input id="toggleMoons" type="checkbox" name="showMoons"/>
</div>
<div class="optionsBox" title="Change the revolution speed of every planet and moon. A higher number means higher speed.">
Revolution speed
<input id="revolutionSpeed" type="number" name="revolutionSpeed" value="15" step="1" />
</div>
<p>Note: This is not an accurate representation of the solar system, as it is not to scale, doesn't have the right shapes of orbits, sizes, velocities, distances, and so on.</p>
</body>
</html>