-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
23 lines (22 loc) · 1.14 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
<!--TODO: proper responsive design-->
<body style="margin: 0; padding: 0">
<canvas id="glCanvas" width="640" height="480" style="position: absolute; touch-action: none"></canvas>
<select id="modelSelect" style="position: absolute; right: 15px; top: 15px; height: 2.5%">
<option value="assets/BrainStem.glb">Brain stem (3.04MB) (animated)</option>
<option value="assets/Avocado.glb">Avocado (0.5MB)</option>
<option value="assets/Duck.glb">Duck (0.1MB)</option>
<option value="assets/FlightHelmet.glb">Flight helmet (5.6MB)</option>
<option value="assets/Thumbman.glb">Thumbman (1.54MB)</option>
<option value="assets/BusterDrone.glb">Buster drone (39.6MB) (animated)</option>
</select>
<div id="downloadLabel" style="color: white; position: absolute; width: 100%; text-align: center; top: 10%; visibility: hidden">
Downloading, please wait
</div>
<div style="color: white; position: absolute; left: 15px; top: 15px">
Drag&drop gltf/glb files or use the select <br />
leftMouseDrag - rotate <br />
rightMouseDrag - pan <br />
scroll - zoom <br />
</div>
</body>
<script type="module" src="build.js"></script>