-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathindex.html
More file actions
executable file
·101 lines (83 loc) · 3.53 KB
/
index.html
File metadata and controls
executable file
·101 lines (83 loc) · 3.53 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
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
<!--
Float! by eleVR (elevr.com): Vi Hart, Andrea Hawksley, Elijah Butterfield, and Emily Eifler
This floating island VR movement experiment is based on the standard ThreeJS-based boilerplate for webVR currently being used by the eleVR team.
Framework infos:
It has oculus and Vive support for webVR browsers, support for the non-VR web,
and support for smartphone on google cardboard or similar VR device.
Supported Navigation Controls:
WASD + E/Q navigation support for rotation.
Arrow key navigation support for moving the location of the camera.
Gamepad joystick navigation controls.
Orientation control with a VR headset OR mobile phone.
Click to enter full-screen VR mode.
This boilerplate is based on Mozilla's boilerplate: https://github.com/MozVR/vr-web-examples/tree/master/threejs-vr-boilerplate
It has been developed with the help of a great many people including (but not limited to) Vi Hart, Andrew Lutomirski, Henry Segerman, and the Firefox webVR team.
-->
<!DOCTYPE html>
<html lang="en">
<head>
<title>Float</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 {
background-color: #000;
color: #fff;
margin: 0px;
padding: 0;
overflow: hidden;
}
</style>
</head>
<body>
<audio id='piano1' src="media/piano1.ogg" autoplay = true, loop=true/>
<audio id='piano2' src="media/piano2.ogg" autoplay = true, loop=true/>
<audio id='piano3' src="media/piano3.ogg" autoplay = true, loop=true/>
<audio id='piano4' src="media/piano4.ogg" autoplay = true, loop=true/>
<audio id='pianoEnd' src="media/pianoEnd.ogg" loop=true/>
<audio id='intro' src="media/intro.ogg" autoplay = true/ >
<audio id='outro' src="media/outro.ogg" >
<audio id='bird' src="media/bird.ogg" autoplay = true, loop = true>
<audio id='go1' src="media/go1.ogg" >
<audio id='go3' src="media/go1.ogg" >
<audio id='go4' src="media/go1.ogg" >
<audio id='go7' src="media/go1.ogg" >
<audio id='go8' src="media/go1.ogg" >
<audio id='close1' src="media/go1.ogg" >
<audio id='close3' src="media/go1.ogg" >
<audio id='close4' src="media/go1.ogg" >
<audio id='close7' src="media/go1.ogg" >
<audio id='close8' src="media/go1.ogg" >
<audio id='start' src="media/start.ogg" >
<audio id='stop' src="media/stop.ogg" >
<audio id='bloomHigh' src="media/bloomHigh.ogg" >
<audio id='bloomMed' src="media/bloomMed.ogg" >
<audio id='bloomLow' src="media/bloomLow.ogg" >
<audio id='bloomLow7' src="media/bloomLow.ogg" >
<audio id='bloomSigh' src="media/bloomSigh.ogg" >
<audio id='bloomSigh2' src="media/bloomSigh.ogg" >
<audio id='bloomSigh3' src="media/bloomSigh.ogg" >
<audio id='bloomSigh7' src="media/bloomSigh.ogg" >
<audio id='bloomSighTree' src="media/bloomSigh.ogg" >
</body>
<!--
three.js 3d library
-->
<script src="js/lib/three.min.js"></script>
<!--
PhoneVR acquires positional information from phone orientation. This is used by VRControls.js
VRControls.js acquires positional information from connected VR devices and applies the transformations to a three.js camera object.
-->
<script src="js/vr/PhoneVR.js"></script>
<script src="js/vr/VRControls.js"></script>
<!--
VREffect.js handles stereo camera setup and rendering.
-->
<script src="js/vr/VREffect.js"></script>
<script src="js/loaders/OBJLoader.js"></script>
<!--
This file is where the VR scene is generated. We include some Demo stuff in this file.
To create your own you can use "blankWebVR.js"
-->
<script src="js/float.js"></script>
</html>