-
Notifications
You must be signed in to change notification settings - Fork 2
/
w.html
56 lines (49 loc) · 1.4 KB
/
w.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
<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><title>Shaderworld</title>
<style>
*{margin:0;padding:0}
canvas{display:block}
#container{
font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji;
width:100vw;height:100vh;
}
#blocker {
position: absolute;
width: 100%;
height: 100%;
background-color: rgba(0,0,0,0.5);
}
#instructions {
width: 100%;
height: 100%;
display: -webkit-box;
display: -moz-box;
display: box;
-webkit-box-orient: horizontal;
-moz-box-orient: horizontal;
box-orient: horizontal;
-webkit-box-pack: center;
-moz-box-pack: center;
box-pack: center;
-webkit-box-align: center;
-moz-box-align: center;
box-align: center;
color: #ffffff;
text-align: center;
font-family: Arial;
font-size: 14px;
line-height: 24px;
cursor: pointer;
}
</style></head><body>
<div id="container">
<div id="blocker">
<div id="instructions">
<span style="font-size:36px">Click to play</span>
<br /><br />
Move: WASD<br/>
Look: MOUSE<br />
Experimental! Works only on a high-end PC + Oculus Link.
</div>
</div>
</div> <script src="js/app.js"></script>
</body></html>