-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
67 lines (56 loc) · 1.2 KB
/
index.html
File metadata and controls
67 lines (56 loc) · 1.2 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
<html>
<head>
<title>3D Audio</title>
</head>
<body>
<div id="animation-container"></div>
<div id="instruct" class="pop">
HRTF Positional Audio Demo.<br />
Mouselook + WASD.<br />
Headphones Recommended. <br />
Supported in Firefox and Chrome.
</div>
<div id="notif" class="pop">
Music: Monkey Island by <a href="http://www.jahtari.org/music/JTR%20EP05.htm">Dubmood</a> CC License. <br />
A tiny project by <a href="https://www.oliverdon.com/">Oliver Don</a>
</div>
<div id="controls" class="pop">
<audio class="audio-element" src="03_Dubmood_-_Monkey_Island.mp3" controls autoplay loop></audio>
</div>
</body>
<script src="lib/three.min.js"></script>
<script src="lib/FirstPersonControls.js"></script>
<script src="3d.js"></script>
<style type="text/css">
body {
background-color: #817568;
color: #DEDAE1;
}
#animation-container {
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
}
#instruct {
top: 0;
right: 0;
}
#notif {
bottom: 0;
left: 0;
}
#controls {
top: 0;
left: 0;
}
.pop {
position: absolute;
padding: 1rem;
opacity: 0.6;
background-color: white;
color: #5B7A6A;
}
</style>
</html>