forked from r03ert0/translucent-viewer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
45 lines (41 loc) · 1.11 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
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<!doctype html>
<html>
<head>
<title>Translucent Brain</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<style>
#container {
background-color: #bbb;
width: 640px;
height: 640px;
}
</style>
</head>
<body>
<div id="info">
<div class="controls">
<input type="file" id="file" name="files[]" /><br />
<input type="checkbox" id="showBrain" value="checked" /> Show brain<br />
<table>
<tr>
<td>
Isosurface level: <br />
Resolution:<br />
Vertex count:<br />
Face count:<br />
</td>
<td>
<input type="range" id="level" /><span id="levelValue"></span><br />
<span id="resolution">0</span><br />
<span id="vertcount">0</span><br />
<span id="facecount">0</span><br />
</td>
</tr>
</table>
</div>
</div>
<div id="container" width="640px" height="640px"></div>
<script type="module" src="index.js"></script>
</body>
</html>