-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
440 lines (396 loc) · 11.3 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
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
<!DOCTYPE html>
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf8">
<meta http-equiv="Content-Language" content="en_CA">
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, minimum-scale=1.0">
<title>Telnetflix</title>
<meta property="og:title" content="Telnetflix">
<meta property="og:description" content="Netflix, but text.">
<!-- Default Styles -->
<style>
html,
body,
html body * {
margin: 0;
padding: 0;
line-height: 1.25;
box-sizing: border-box;
}
html,
body {
height: 100%;
}
video,
img {
vertical-align: top;
width: 100%;
height: auto;
}
</style>
<!-- Splash Styles -->
<style>
.hidden {
display: none;
}
body {
background: #000;
font-family: Helvetica, Arial, sans-serif;
color: #fff;
font-size: 14px;
max-height: 100%;
}
#splash,
#illegal-content {
height: 100%;
}
#illegal-content {
position: relative;
z-index: 200;
}
#splash-video {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 100%;
max-width: 900px;
padding: 0 1rem;
}
#telnetflix-video {
position: relative;
z-index: 5;
}
#telnetflix-video-disappear {
position: absolute;
z-index: 1;
top: 0;
left: 0;
width: 100%;
height: 100%;
opacity: 0;
animation: fadeIn 0.1s ease-out 0.6s 1 forwards;
}
#splash-video-button {
position: absolute;
top: 100%;
left: 50%;
transform: translate(-50%, 0);
color: #E32414;
background: #fff;
font-weight: 900;
padding: 0.75rem 3rem;
cursor: pointer;
animation: fadeIn 0.6s ease-out 2s 1 forwards;
opacity: 0;
font-size: 100%;
transition: opacity .6s ease, transform .4s ease;
}
#splash-video-button.show {
opacity: 1;
}
#splash-video-button.fade {
cursor: default;
animation: fadeOut 0.6s ease-out 0s 1 forwards;
transform: translate(-50%, 10%);
}
.abs-center {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.fixed-center {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.fixed-top {
position: fixed;
top: 0;
left: 50%;
transform: translate(-50%, 0);
}
.fixed-bottom {
position: fixed;
bottom: 0;
left: 50%;
transform: translate(-50%, 0);
}
.fade {
opacity: 0;
}
.relative {
position: relative;
}
.noselect {
-webkit-touch-callout: none;
/* iOS Safari */
-webkit-user-select: none;
/* Safari */
-khtml-user-select: none;
/* Konqueror HTML */
-moz-user-select: none;
/* Old versions of Firefox */
-ms-user-select: none;
/* Internet Explorer/Edge */
user-select: none;
/* Non-prefixed version, currently
supported by Chrome, Edge, Opera and Firefox */
}
.d-flex {
display: flex;
}
.column {
display: flex;
flex-direction: column;
justify-content: center;
}
.w-100 {
width: 100%;
}
.asset {
opacity: 0;
}
@keyframes fadeIn {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
@keyframes fadeOut {
0% {
opacity: 1;
}
100% {
opacity: 0;
}
}
#detailNav {
position: fixed;
bottom: 0;
left: 0;
color: #ff2905 !important;
z-index: 100;
transition: opacity .3s ease;
}
#detailNav a {
display: block;
padding: 1rem;
text-decoration: none;
opacity: 0.2;
}
#detailNav a:link,
#detailNav a:visited {
color: #ff2905;
}
#detailNav a:hover {
opacity: 0.4;
}
</style>
<!-- Responsive Styles -->
<style>
#illegalContentWrapper {
position: relative;
transform: none;
left: auto;
top: auto;
padding-top: 60px;
}
@media screen and (min-width: 500px) {
body {
font-size: 16px;
}
}
</style>
<!-- Transition Styles -->
<style>
.actionable {
position: relative;
}
.current {
display: block;
opacity: 1;
}
.next {
position: absolute;
top: 0;
left: 0;
width: 100%;
display: block;
opacity: 0;
}
.current,
.next {
transform: translate3d(0, 0, 0);
will-change: opacity, transform;
}
</style>
</head>
<body class='noselect'>
<div id='splash'>
<div id='webgl-test'>
<div id='backgroundAssets'></div>
<div id='posterAssets'></div>
<!-- The noise map -->
<img crossOrigin="anonymous" src='assets/webgl/poster_noise.png' class="displacementMap asset d-none" />
<!-- WebGL Canvas -->
<canvas id="webgl_intro_scroller" class='z-n1000' style="width: 100%; height: 100%; border: none;"></canvas>
</div>
<div id='splash-video' class=''>
<div class='relative'>
<video id='telnetflix-video' playsinline autoplay muted>
<source src="assets/logo/telnetflix.mp4" type="video/mp4" />
Your browser does not support the video tag.
</video>
<video id='telnetflix-video-disappear' poster='assets/logo/telnetflix_disappear.jpg' playsinline muted>
<source src="assets/logo/telnetflix_disappear.mp4" type="video/mp4" />
Your browser does not support the video tag.
</video>
</div>
<div id='splash-video-button'>ENTER</div>
</div>
<div id='illegal-content' class='hidden'>
<div class='fixed-top' id='telnetflix-fixed-logo'>
<img src='assets/logo/telnetflix.png' />
</div>
<div class='abs-center w-100' id='illegalContentWrapper'>
<div class='column' id='illegalContentColumns'>
<div class='column' id='moviePoster'>
<img style='opacity: 0; transition: opacity 1.2s ease;' id='posterBlur'
src='assets/movies/shrek/poster.jpg' />
<img style='opacity: 0; transition: opacity 1.2s ease;' id='posterTransitionBlur'
src='assets/movies/my_neighbour_totoro/poster.jpg' />
<canvas id="webglPosterImage" class='z-n1000'
style="width: 100%; height: 100%; border: none;"></canvas>
</div>
<div class='column' id='movieContent'>
<h1 class='actionable' id='movieTitle'>
<span class='current' data-post-transform='translate3d(0,20%,0)' data-pre-opacity='1'
data-post-opacity='0'></span>
<span class='next' data-pre-transform='translate3d(5%,0,0)'
data-post-transform='translate3d(0,0,0)' data-pre-opacity='0' data-post-opacity='1'
data-delay='800'></span>
</h1>
<!-- Mobile tags -->
<p class='actionable' id='movieDesc'>
<span class='current' data-post-transform='translate3d(0,20%,0)' data-pre-opacity='1'
data-post-opacity='0' data-delay='50'></span>
<span class='next' data-pre-transform='translate3d(5%,0,0)'
data-post-transform='translate3d(0,0,0)' data-pre-opacity='0' data-post-opacity='1'
data-delay='800'></span>
</p>
<div class='d-flex' id='movieCode' style='opacity: 0; transition-delay: 0.2s;'>
<div class='d-flex' id='copyableContainer'>
<div class='column commandWrapper'>
<span class='actionable'>
<span class='current copyable' data-pre-opacity='1' data-post-opacity='0'
data-delay='100'></span>
<span class='next copyable' data-pre-opacity='0' data-post-opacity='1'
data-delay='800'></span>
</span>
</div>
<div class='column'>
<img class='icon' src='assets/icons/clipboard.png' />
</div>
</div>
</div>
<div id='movieStarHeader' class='actionable'>
<span class='current title' data-pre-opacity='1' data-post-opacity='0'
data-delay='150'></span>
<span class='next title' data-pre-opacity='0' data-post-opacity='1' data-delay='800'></span>
</div>
<div class='d-flex' id='movieStars'>
<p class='actionable movie-star'>
<span class='current' data-post-transform='translate3d(0,20%,0)' data-pre-opacity='1'
data-post-opacity='0' data-delay='150'></span>
<span class='next' data-pre-transform='translate3d(0,20%,0)'
data-post-transform='translate3d(0,0,0)' data-pre-opacity='0' data-post-opacity='1'
data-delay='800'></span>
</p>
<p class='actionable movie-star'>
<span class='current' data-post-transform='translate3d(0,20%,0)' data-pre-opacity='1'
data-post-opacity='0' data-delay='150'></span>
<span class='next' data-pre-transform='translate3d(0,20%,0)'
data-post-transform='translate3d(0,0,0)' data-pre-opacity='0' data-post-opacity='1'
data-delay='800'></span>
</p>
<p class='actionable movie-star'>
<span class='current' data-post-transform='translate3d(0,20%,0)' data-pre-opacity='1'
data-post-opacity='0' data-delay='150'></span>
<span class='next' data-pre-transform='translate3d(0,20%,0)'
data-post-transform='translate3d(0,0,0)' data-pre-opacity='0' data-post-opacity='1'
data-delay='800'></span>
</p>
</div>
<div class='d-flex' id='movieCategories'>
<p class='actionable movie-category'>
<span class='current' data-pre-opacity='1' data-post-opacity='0'
data-delay='200'></span>
<span class='next' data-pre-opacity='0' data-post-opacity='1' data-delay='800'></span>
</p>
<p class='actionable movie-category'>
<span class='current' data-pre-opacity='1' data-post-opacity='0'
data-delay='200'></span>
<span class='next' data-pre-opacity='0' data-post-opacity='1' data-delay='800'></span>
</p>
<p class='actionable movie-category'>
<span class='current' data-pre-opacity='1' data-post-opacity='0'
data-delay='200'></span>
<span class='next' data-pre-opacity='0' data-post-opacity='1' data-delay='800'></span>
</p>
</div>
</div>
</div>
</div>
<div class='fixed-bottom d-flex' id='telnetflixMobileToggles'>
<div class='column toggle left-toggle disabled'>Previous</div>
<div class='column toggle right-toggle'>Next</div>
</div>
<div class='fixed-bottom d-flex' id='telnetflixDesktopIcons'></div>
<div id='detailNav'>
<a href='https://github.com/aidancrowther/ASCIIPlay'>GITHUB</a>
</div>
<div class='d-flex' id='telnetflixDesktopToggles'>
<div class='column toggle left-toggle disabled'>
<img src='/assets/icons/left-arrow.png' />
</div>
<div class='column toggle right-toggle'>
<img src='/assets/icons/right-arrow.png' />
</div>
</div>
</div>
</div>
<noscript id="deferred-styles">
<link rel="stylesheet" type="text/css" href="/css/poubelle.css" />
</noscript>
<script async defer>
var loadDeferredStyles = function () {
var addStylesNode = document.getElementById("deferred-styles");
var replacement = document.createElement("div");
replacement.innerHTML = addStylesNode.textContent;
document.body.appendChild(replacement)
addStylesNode.parentElement.removeChild(addStylesNode);
};
var raf = window.requestAnimationFrame || window.mozRequestAnimationFrame ||
window.webkitRequestAnimationFrame || window.msRequestAnimationFrame;
if (raf) raf(function () { window.setTimeout(loadDeferredStyles, 0); });
else window.addEventListener('load', loadDeferredStyles);
[
'/js/index.js',
'/js/webgl.js'
].forEach(function (src) {
var script = document.createElement('script');
script.src = src;
script.async = false;
document.head.appendChild(script);
});
</script>
<script type="text/javascript" async defer>
var adblock = true;
</script>
</body>
</html>