-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
39 lines (29 loc) · 883 Bytes
/
Copy pathindex.html
File metadata and controls
39 lines (29 loc) · 883 Bytes
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>3D-Earth-ThreeJS-Tutorial</title>
<link rel="stylesheet" type="text/css" href="styles.css">
<style>
body { margin: 0; }
</style>
<script async src="https://unpkg.com/es-module-shims@1.6.3/dist/es-module-shims.js"></script>
<script type="importmap">
{
"imports": {
"three": "https://unpkg.com/three@0.154.0/build/three.module.js",
"three/addons/": "https://unpkg.com/three@0.154.0/examples/jsm/"
}
}
</script>
</head>
<body>
<div class="header">
<h1>3D Earth</h1>
<p1 id="displayText">Sample</p1>
<p2 id="cordText">Right Click for Coordinates</p2>
</div>
<div id="viz"></div>
<script type="module" src="./main.js"></script>
</body>
</html>