forked from dli/waves
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
57 lines (54 loc) · 1.95 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
<!--
WebGL Water
https://madebyevan.com/webgl-water/
Copyright 2011 Evan Wallace
Released under the MIT license
-->
<!DOCTYPE html>
<html><head>
<meta charset="utf8">
<title>A story..</title>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no">
<script src="OES_texture_float_linear-polyfill.js"></script>
<script src="lightgl.js"></script>
<script src="cubemap.js"></script>
<script src="renderer.js"></script>
<script src="water.js"></script>
<script src="main.js"></script>
<style type="text/css">
body { font: 13px/140% Arial, sans-serif; background: black; color: white; overflow: hidden; }
a { color: inherit; cursor: pointer; }
img { display: none; }
ul { padding: 0 0 0 20px; }
h1 { font: bold italic 30px/30px Georgia; text-align: center; }
h2 { font: bold italic 17px/17px Georgia; padding-top: 10px; }
small { display: block; font-size: 11px; line-height: 15px; }
canvas { position: absolute; top: 0; left: 0; }
#help { position: absolute; top: 0; right: 0; bottom: 0; width: 280px; padding-right: 20px; overflow: auto; }
#loading { position: absolute; left: 0; top: 50%; right: 300px; text-align: center; margin-top: -8px; }
@media (max-width: 600px) {
small { font-size: 8px; line-height: 10px; }
#help { width: 100px; font-size: 10px; line-height: 12px; }
}
</style>
</head><body>
<div id="loading">Hello...</div>
<div id="help">
<h1>Thank You</h1>
<p>for providing water</p>
<p>for us to survive</p>
<h2>this is code</h2>
<ul>
<li>what would you do</li>
<li>its not a SPACEBAR</li>
<li>gravity is the mighty G</li>
<li>light does help you with the L direction</li>
</ul>
</div>
<img id="tiles" src="tiles1.jpg">
<img id="xneg" src="img/1/xneg.jpg">
<img id="xpos" src="img/1/xpos.jpg">
<img id="ypos" src="img/1/ypos.jpg">
<img id="zneg" src="img/1/zneg.jpg">
<img id="zpos" src="img/1/zpos.jpg">
</body></html>