-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
44 lines (40 loc) · 873 Bytes
/
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
<!DOCTYPE html>
<html>
<head>
<title>William Gibson Overdrive</title>
<meta name="description" content="VR experiment with WebGL and FlyWeb"></meta>
<script src="js/three.min.js"></script>
<script src="js/webvr-polyfill.js"></script>
<style>
video {
position: absolute;
height: 100%;
width: 100%;
top: 0;
left: 0;
object-fit: cover;
}
html, body {
height: 100%;
margin: 0;
padding: 0;
}
canvas {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
#instructions {
height: 30%;
margin-top: 2em;
text-align: center;
}
.hidden { display: none; }
</style>
</head>
<body>
<script src="js/main.js"></script>
</body>
</html>