-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
32 lines (27 loc) · 1000 Bytes
/
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
<!DOCTYPE html>
<html lang="en">
<head>
<title>ThreeJS </title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="UTF-8" />
<link href="./styles/main.css" rel="stylesheet" type="text/css">
<script async src="./vendor/es-module-shims-1.6.2/dist/es-module-shims.js"></script>
<script type="importmap">
{
"imports": {
"three": "./vendor/three/build/three.module.js",
"OrbitControls": "./vendor/three/examples/jsm/controls/OrbitControls.js",
"dat.gui": "./vendor/dat.gui/build/dat.gui.module.js"
}
}
</script>
<script src="https://cdn.jsdelivr.net/pyodide/v0.21.3/full/pyodide.js"></script>
<script src="../vendor/math.js" type="text/javascript "></script>
<script type="module" src="./src/main.js"></script>
</head>
<body>
<div id="scene-container">
<canvas id="threejs-main-canvas"></canvas>
</div>
</body>
</html>