-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
45 lines (37 loc) · 1.09 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
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Solar System</title>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<link rel="icon" href="favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="../libs/jquery-ui/jquery-ui.css" />
<link rel="stylesheet" href="../css/solarSystem.css" />
<script src="../libs/jquery-3.4.1/jquery-3.4.1.min.js"></script>
<script src="../libs/jquery-ui/jquery-ui.js"></script>
<script src="../libs/three.js/three.min.js"></script>
<script src="../libs/three.js/controls/OrbitControls.js"></script>
<script src="sceneHandlers.js"></script>
<script src="solarSystem.js"></script>
<script type="text/javascript">
$(document).ready(
function() {
let canvas = document.getElementById("webglcanvas");
// create the scene
createScene(canvas);
// Run the run loop
run();
}
);
</script>
</head>
<body>
<!--
<section id="loading-screen">
<div id="loader"></div>
</section>
-->
<div id="canvasContainer">
<canvas id="webglcanvas"></canvas>
</div>
</body>
</html>