-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
41 lines (37 loc) · 1.27 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>WebGL Heart</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<link href="heart.css" rel="stylesheet" type="text/css" />
</head>
<body>
<canvas id="label-canvas"></canvas>
<canvas id="webgl-canvas"></canvas>
<div id="button-wrapper">
<p><button id="heart-button" type="button" onclick="moveHeart()">Separate</button></p>
<p><button id="label-button" type="button" onclick="toggleLabels()">Show Labels</button></p>
</div>
<div id="legend">
<ol>
<li>Aorta</li>
<li>Arch of the aorta</li>
<li>Left auricular appendage</li>
<li>Pulmonary artery</li>
<li>Pulmonary veins</li>
<li>Vena cava superior</li>
</ol>
</div>
<script src="js/vendor/three.min.js"></script>
<script src="js/vendor/Detector.js"></script>
<script src="js/vendor/MTLLoader.js"></script>
<script src="js/vendor/OBJLoader.js"></script>
<script src="js/vendor/stats.min.js"></script>
<script src="js/vendor/TrackballControls.js"></script>
<script src="js/vendor/Tween.js"></script>
<script src="js/heart-loader.js"></script>
<script src="js/webgl-utils.js"></script>
<script src="js/app.js"></script>
</body>
</html>