-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
199 lines (182 loc) · 5.89 KB
/
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
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<!-- <meta name="expires" content="tue, 01 Jun 2010"> -->
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="theme-color" content="#131313" />
<meta name="robots" content="all">
<meta name="page-topic" content="Medien, Produktion, Audio, Ton, Immersive Medien, ">
<title>Hoerraum - Content für kollektive Hör-Erlebnisse</title>
<meta name="description" content="Hoerraum - Produziert Content für gemeinschaftliche Erlebnisse. 360Grad Hörerlebnisse in Planetarien und Mediendomes">
<link rel="stylesheet" href="https://use.typekit.net/ecs7qjg.css">
<!-- <base href="https://hoerraum.media" /> -->
<link rel="apple-touch-icon" sizes="57x57" href="/static/favicon/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="/static/favicon/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="/static/favicon/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="/static/favicon/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="/static/favicon/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="/static/favicon/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="/static/favicon/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="/static/favicon/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="/static/favicon/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="/static/favicon/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="/static/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="/static/favicon/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="/static/favicon/favicon-16x16.png">
<link rel="manifest" href="/static/favicon/manifest.json">
<meta name="msapplication-TileColor" content="#131313">
<meta name="msapplication-TileImage" content="/static/favicon/ms-icon-144x144.png">
</head>
<style>
#load {
position: absolute;
display: flex;
z-index: 100;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100%;
width: 100%;
font-size: 2em;
font-family: folio-condensed, monospace;
}
#loadTxt {
padding: 100px;
}
body {
font-family: folio-condensed, sans-serif;
}
.marg {
margin-top: 20px
}
.red {
color: red;
}
.dnone {
display: none;
}
.start {
cursor: pointer;
padding: 50px;
}
.lds-ripple {
display: inline-block;
position: relative;
transform: translateY(50px);
width: 128px;
height: 128px;
}
.lds-ripple div {
position: absolute;
border: 8px solid #fff;
opacity: 1;
border-radius: 50%;
}
.animated {
animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
.finish {
top: -1px;
left: -1px;
width: 116px;
height: 116px;
opacity: 0.5;
}
.translate {
transition: all 0.5s ease;
transform: translateY(-102px)
}
.lds-ripple div:nth-child(2) {
animation-delay: -0.5s;
}
a {
text-decoration: none;
color: #818181;
text-align: center;
transition: 0.25s;
}
a:hover {
color: #f1f1f1;
}
@keyframes lds-ripple {
0% {
top: 56px;
left: 56px;
width: 0;
height: 0;
opacity: 1;
}
100% {
top: -1px;
left: -1px;
width: 116px;
height: 116px;
opacity: 0;
}
}
</style>
<script>
// TOTDO DOM READY
window.__READY__ = false;
window.__START__ = false;
function isWebGLAvailable () {
try {
var canvas = document.createElement( 'canvas' );
return !! ( window.WebGLRenderingContext && ( canvas.getContext( 'webgl' ) || canvas.getContext( 'experimental-webgl' ) ) );
} catch ( e ) {
return false;
}
}
console.log("isWebGLAvilable?: ", isWebGLAvailable())
window.__NOWEBGL__ = !isWebGLAvailable()
// window.__NOWEBGL__ = isWebGLAvailable()
function start() {
var starter = document.getElementById("starter")
var load = document.getElementById("load")
var body = document.getElementById("body")
window.__START__ = true;
starter.removeEventListener("click", start)
body.removeChild(load)
}
function readyToStart() {
if(window.__READY__) {
//show start
var rippler = document.getElementById("rippler")
var loadtxt = document.getElementById("loadTxt")
var starter = document.getElementById("starter")
var an1 = document.getElementById("an1")
var an2 = document.getElementById("an2")
rippler.removeChild(an2)
an1.classList.add("finish")
an1.classList.remove("animated")
loadtxt.classList.add("dnone")
starter.classList.remove("dnone")
starter.classList.add("translate")
starter.addEventListener("click", start)
} else {
setTimeout(() => {
readyToStart();
}, 40);
}
}
if(window.__NOWEBGL__) {
window.__START__ = true
document.addEventListener("DOMContentLoaded", function(event) {
start()
});
} else {
readyToStart();
}
</script>
<body id="body" style="position: fixed; height: 100%; width: 100%; margin: 0; background-color: #131313; color: #e9e9e9;">
<div id="load">
<div id="rippler" class="lds-ripple"><div id="an1" class="animated"></div><div id="an2" class="animated"></div></div>
<div id="loadTxt" class="marg">LOADING .<span class="red">.</span>.</div>
<div id="starter" class="start marg dnone"><a>Start</a></div>
</div>
<div id="app"></div>
<div id="host"></div>
</body>
</html>