-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathkari.html
102 lines (92 loc) · 2.12 KB
/
kari.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
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
<!DOCTYPE html>
<!-- oheart6 adds and checks annotations programmatically -->
<html lang="en">
<head>
<title>three.js webgl - OBJLoader + MTLLoader</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 {
font-family: Monospace;
background-color: #000;
color: #fff;
margin: 0px;
overflow: hidden;
}
#info {
color: #fff;
position: absolute;
top: 10px;
width: 100%;
text-align: center;
z-index: 100;
display:block;
}
#activate {
color: #fff;
position: absolute;
top: 50px;
left: 20px;
width: 100%;
z-index: 103;
display:block;
}
#partList {
color: #fff;
position: absolute;
top: 200px;
left: 20px;
width: 100%;
text-align: left;
z-index: 100;
display:block;
font-size: 16px;
}
#info a {
color: #f00;
font-weight: bold;
text-decoration: underline;
cursor: pointer
}
.button {
background-color: #4CAF50;
border: none;
color: white;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
font-family: Monospace;
}
#threeCanvas {
position: absolute;
z-index: 99;
}
</style>
</head>
<body>
<div id="heart-app">
<canvas id="threeCanvas"></canvas>
<div id="info">
<a href="http://threejs.org" target="_blank">three.js</a> MOVE mouse & press LEFT/A: rotate, MIDDLE/S: zoom, RIGHT/D: pan
</div>
<div id="activate">
<button id="move_heart_btn" type="button" class="button">Open/Close Heart</button>
<br>
<br>
<button id="hide_dots_btn" type="button" class="button" onclick="hideDots()">Hide/Show Dots</button>
</div>
<div id="partList">
1. Aorta <br>
2. Arch of the aorta <br>
3. Left auricular appendage <br>
4. Pulmonary artery <br>
5. Pulmonary veins <br>
6. Vena cava superior <br>
</div>
</div>
<script src="js/Tween.js"></script>
<script type="module" src="js/main.js"></script>
</body>
</html>