-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
30 lines (25 loc) · 867 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>TubePath on three.js</title>
<link rel="shortcut icon" href="#">
</head>
<body style="margin: 0;">
<script type="importmap">
{
"imports": {
"three": "./node_modules/three/build/three.module.js",
"three/addon/": "./node_modules/three/examples/jsm/"
}
}
</script>
<script type="module" src="demo/app.js">
</script>
<a id="button" target="_blank" style="position: fixed; bottom: 16px; right: 16px; padding: 12px; border-radius: 50%; margin-bottom: 0px;
background-color: #FFF; opacity: .9; z-index: 999; box-shadow: 0 0 4px rgb(0 0 0 / 15%); text-decoration: none;"
href="https://github.com/erasta/three-tube-path/blob/main/demo/app.js" title="View source code on GitHub">
<img src="./files/ic_code_black_24dp.svg" />
</a>
</body>
</html>