-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
65 lines (60 loc) · 1.63 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
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<title>three.js app</title>
<style>
body {
margin: 0;
overflow: hidden;
}
canvas {
/*z-index: 0;*/
}
#container{
/*z-index: -1;*/
}
#form {
position: fixed;
/*z-index: 99;*/
background: red;
}
#details {
position: absolute;
top:0;
/*z-index: 9;*/
background-color: #f1f1f1;
border: 1px solid #d3d3d3;
text-align: center;
visibility: hidden;
/*background: transparent;*/
}
#detailsHeader {
padding: 10px;
cursor: move;
/*z-index: 10;*/
background-color: #2196F3;
color: #fff;
}
</style>
</head>
<body>
<div id="container"></div>
<div id="details">
<div id="detailsHeader">Earthquake details</div>
</div>
<script src="https://threejs.org/build/three.min.js"></script>
<script src="./OrbitControls.js"></script>
<script src="js/earthquakeDetails.js"> </script>
<script src="js/mouseEvents.js"></script>
<script src="js/api.js"></script>
<script src="js/setupScene.js"></script>
<script src="js/lightSetup.js"></script>
<script src="js/createSphere.js"></script>
<script src="js/createEarthquakeMarker.js"></script>
<script src="js/createCone.js"></script>
<script src="js/loadTexture.js"></script>
<script src="js/GeoToCartesian.js"></script>
<script src="js/index.js"></script>
</body>
</html>