-
Notifications
You must be signed in to change notification settings - Fork 128
/
demo.html
114 lines (107 loc) · 3.36 KB
/
demo.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
<!doctype html>
<html lang="en">
<head>
<title>Wagner - Minefield!</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 {
color: #ffffff;
font-family: 'roboto condensed', tahoma;
font-size: 13px;
text-align: left;
font-weight: 100;
background-color: #111;
background-image: url(escheresque_ste.png );
margin: 0px;
overflow: hidden;
}
#container canvas {
width: 100%;
height: 100%;
}
#fullscreenBtn {
position: absolute;
right: 270px;
bottom: 10px;
color: white;
border: 1px solid white;
border-radius: 4px;
padding: 10px 20px;
background-color: black;
text-decoration: none;
}
#fullscreenBtn:hover {
color: black;
background-color: white;
}
#about {
position: absolute;
left: 10px;
bottom: 10px;
background-color: #000;
padding: 10px;
}
a {
color: #b70000;
}
#shadersStack {
position: absolute;
right: 270px;
width: 300px;
top: 10px;
color: white;
border: 1px solid white;
border-radius: 4px;
padding: 10px 20px;
background-color: black;
text-decoration: none;
}
#shadersStack:hover #shadersStackList {
display: block;
}
#shadersStackList {
display: none;
list-style: none;
padding: 0;
margin: 0;
}
#shadersStackList li:hover, #shadersStackList li:active {
background-color: #111;
}
#shadersStackList li.disabled {
color: #777;
}
#shadersStackList a {
float: right;
margin: 0 4px;
}
</style>
<link href='http://fonts.googleapis.com/css?family=Roboto+Condensed:400,700,300' rel='stylesheet' type='text/css'>
</head>
<body>
<div id="container"></div>
<a href="#" id="fullscreenBtn">Go fullscreen</a>
<div id="shadersStack">
Shaders Stack Order <a href="#" id="shaderStackReverse">(reverse)</a>
<ul id="shadersStackList"></ul>
</div>
<div id="about">This is the minefield playground for Wagner, a new composer for three.js.
<br/> Check out the repo here <a href="https://github.com/spite/Wagner">https://github.com/spite/Wagner</a> and contribute,
<br/> open an issue, suggest your ideas. <b>This is extremely work in progress!</b>
<br/> Made with and for <a href="http://threejs.org/">three.js</a> | Stats by <a href="http://spite.github.io/rstats/">rStats</a> | <a href="http://www.twitter.com/thespite">@thespite</a> | <a href="http://www.clicktorelease.com">clicktorelease.com</a>
</div>
<script src="js/three.min.js"></script>
<script src="js/dat.gui.min.js"></script>
<script src="js/OrbitControls.js"></script>
<!--<script src="js/OculusRiftEffect.js"></script>-->
<script src="http://spite.github.io/rstats/rStats.js" ></script>
<script src="http://spite.github.io/rstats/rStats.extras.js" ></script>
<script src="Wagner.js"></script>
<script src="Wagner.base.js"></script>
<!--<script src="Wagner.experimental.js"></script>-->
<script src="ShaderLoader.js"></script>
<script src="js/debugTools.js"></script>
<script src="demo.js"></script>
</body>
</html>