-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathweb.html
68 lines (65 loc) · 2.33 KB
/
web.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>ThreeJs Demo 1</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
body { margin: 0; background: black}
canvas { width: 100%; height: 100% }
#audioFile{
color: white;
background: transparent;
text-decoration: underline;
text-transform: capitalize;
background: transparent;
position: absolute;
z-index: 9999;
width: 100%;
}
audio{
position: absolute;
bottom: 0em;
width: 100%;
}
form {
position: absolute;
top: 2em;
background: black;
z-index: 999;
color: white;
opacity: 0.8;
display: flex;
flex-flow: column;
}
</style>
</head>
<body>
<!-- <script src="https://www.gstatic.com/firebasejs/4.3.1/firebase.js"></script>
<script>
// Initialize Firebase
var config = {
apiKey: "AIzaSyABAEIKB88h6gU1NOBNk3SGhOztgCH6bUw",
authDomain: "kantelabs-threejs.firebaseapp.com",
databaseURL: "https://kantelabs-threejs.firebaseio.com",
projectId: "kantelabs-threejs",
storageBucket: "",
messagingSenderId: "972862435246"
};
firebase.initializeApp(config);
</script> -->
<input id="audioFile" name="newAudioFile" type="file" accept="audio/*">
<form>
<input type="radio" name="sceneShape" value="cubeGrid" checked/>Default</br>
<input type="radio" name="sceneShape" value="matrix"/>Cube Matrix</br>
<input type="radio" name="sceneShape" value="web"/>Web</br>
</form>
<div class="audio-container"></div>
<script src="js/utils/three.min.js"></script>
<script src="js/utils/OrbitControls.js"></script>
<script src="js/utils/StereoEffect.js"></script>
<script src="js/utils/ParametricGeometries.js"></script>
<script src="js/utils/TweenLite.min.js"></script>
<script src="js/main.web.js"></script>
</body>
</html>