-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
76 lines (66 loc) · 2.36 KB
/
index.html
File metadata and controls
76 lines (66 loc) · 2.36 KB
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<!DOCTYPE html>
<html lang="en">
<head>
<title>three.js Volume Renderer</title>
<meta charset="utf-8" />
<style>
body {
background-color: #000;
height: 100%;
margin: 0;
overflow: hidden;
}
.info {
box-sizing: border-box;
color: #fff;
padding: 10px;
position: absolute;
text-align: center;
top: 0px;
width: 100%;
user-select: none;
-ms-user-select: none;
-moz-user-select: none;
-webkit-user-select: none;
}
.glsl {
background-color: #fff4;
border: 0;
color: #3f3;
height: 200px;
overflow: auto;
position: absolute;
right: 266px;
resize: none;
top: 5px;
visibility: hidden;
width: 300px;
}
a {
color: #aaf;
}
</style>
<script src="https://cdn.jsdelivr.net/npm/lil-gui@0.20.0/dist/lil-gui.umd.min.js"></script>
<link href="https://cdn.jsdelivr.net/npm/lil-gui@0.20.0/dist/lil-gui.min.css" rel="stylesheet">
<script type="module" src="./App.js"></script>
</head>
<body>
<div class="info">
<a href="https://threejs.org" target="_blank" rel="noopener">three.js</a> - volume renderer
(<a href="https://github.com/Donitzo/three.js-volume-renderer" target="_blank" rel="noopener">GitHub</a>)
<details>
<summary>Scan and background attribution</summary>
<div>
Smoke created using <a href="https://pages.nist.gov/fds-smv/" target="_blank" rel="noopener">FDS</a><br/>
Skybox by <a href="https://www.pauldebevec.com/" target="_blank" rel="noopener">Paul Debevec</a><br/>
<a href="https://github.com/neurolabusc/niivue-images" target="_blank" rel="noopener">Chris MRI</a> from McCausland Center for Brain Imaging.
<a href="https://creativecommons.org/licenses/by-nc/4.0/" target="_blank" rel="noopener">CC BY-NC 4.0</a><br/>
<a href="https://digimorph.org/specimens/Dipsosaurus_dorsalis/" target="_blank" rel="noopener">Desert Iguana</a> from Dr. Jessie Maisano, University of Texas High-Resolution X-ray CT Facility Archive 0787.
<a href="https://creativecommons.org/licenses/by-nc/4.0/" target="_blank" rel="noopener">CC BY-NC 4.0</a><br/>
</div>
</details>
</div>
<textarea class="glsl"></textarea>
<canvas></canvas>
</body>
</html>