-
Notifications
You must be signed in to change notification settings - Fork 0
/
view.html
37 lines (33 loc) · 1.02 KB
/
view.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Polycubes</title>
<meta charset="utf-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<style>
body {
background: rgba(0, 0, 0, 0);
padding: 0;
margin: 0;
font-weight: bold;
overflow: hidden;
}
</style>
<link rel="manifest" href="/manifest.json">
</head>
<body>
<canvas id="threeCanvas"></canvas>
<script src="js/libs/three.min.js"></script>
<script src="js/libs/randomColor.min.js"></script> <!--from: https://github.com/davidmerfield/randomColor-->
<script src="js/libs/WebGL.js"></script>
<script src="js/libs/GLTFExporter.js"></script>
<script src="js/controls/OrbitControls.js"></script>
<script src="js/polycubeSystem.js"></script>
<script src="js/view.js"></script>
<script src="js/init.js"></script>
<script>
createPolycubeSystem();
</script>
</body>
</html>