-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
71 lines (64 loc) · 3.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="css/style.css">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap" rel="stylesheet">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Varela+Round&display=swap" rel="stylesheet">
<link rel="shortcut icon" type="image/png" href="img/favicon.png">
<title>Solar System</title>
</head>
<body>
<a href="https://github.com/JayexDesigns/web-solar-system" target="_blank" id="github" class="unselectable"><img src="img/github.png" alt=""></a>
<div id="menu" class="unselectable">
<div id="createButton"><p>Create A Planet</p><img draggable="false" src="img/createPlanet.png" alt="Something Went Wrong"></div>
<div id="browseButton"><p>Edit A Planet</p><img draggable="false" src="img/browsePlanet.png" alt="Something Went Wrong"></div>
<div id="generalButton"><p>General Settings</p><img draggable="false" src="img/generalSettings.png" alt="Something Went Wrong"></div>
</div>
<div id="createMenu">
<h1>Create Planet</h1>
<section id="createName"><label>Name:</label><input type="text"></section>
<section id="createPosition">
<label>Position:</label>
<div>
<input id="createPosX" type="number" placeholder="X" value="5">
<input id="createPosY" type="number" placeholder="Y" value="0">
</div>
</section>
<section id="createVelocity">
<label>Velocity:</label>
<div>
<input id="createVelX" type="number" placeholder="X" value="0">
<input id="createVelY" type="number" placeholder="Y" value="-8">
</div>
</section>
<section id="createMass"><label>Mass:</label><input type="number" value="1000"></section>
<section id="createRadius"><label>Radius:</label><input type="number" value="1"></section>
<section id="createColor"><label>Color:</label><input type="text"></section>
<section id="createStatic"><label>Static:</label><input type="checkbox"></section>
<section id="createCameraFollow"><label>Camera Followed:</label><input type="checkbox"></section>
<input id="createPlanet" type="button" value="Create">
</div>
<div id="browseMenu"><h1>Planet List</h1></div>
<div id="generalMenu">
<h1>General Settings</h1>
<section><label>Gravity Value:</label><input type="text" placeholder="6.674"></section>
<section><label>Velocity Cap:</label><input type="checkbox" checked></section>
<section><label>Velocity Cap Value:</label><input type="text" placeholder="25"></section>
<section><label>Collision System:</label><input type="checkbox"></section>
<input id="applySettings" type="button" value="Apply">
</div>
<svg width=80 height=30 id="dropdown">
<polyline points="5,5 40,25 75,5" stroke-linecap="round"/>
</svg>
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r124/three.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/2.1.2/TweenMax.min.js"></script>
<script src="javascript/system.js"></script>
<script src="javascript/controls.js"></script>
<script src="javascript/names.js"></script>
<script src="javascript/menu.js"></script>
</body>
</html>