-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathindex.html
73 lines (57 loc) · 1.99 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
<!doctype html>
<html>
<head>
<meta charset="utf-8"/>
<title>Mozilla Gladius.js: Games on the Open Web</title>
<link rel="stylesheet" href="css/screen.css"/>
<link rel="stylesheet" href="css/gladiusjs.css"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<!-- Adding "maximum-scale=1" fixes the Mobile Safari auto-zoom bug: http://filamentgroup.com/examples/iosScaleBug/ -->
</head>
<body>
<header id="masthead">
<nav id="nav-main" role="navigation">
</nav>
</header>
<div id="mainDiv">
<!-- the details -->
<h4><a href="https://github.com/gladiusjs/gladius">Gladius</a>
examples and demos</h4>
<p>
Note that these require a modern browser that supports WebGL
(e.g. Firefox 13 or Chrome 19).
</p>
<div id="examples">
<script>
var files = [
[ "camera-rotate", "gladius/examples/camera-rotate/index.html"],
[ "cube", "gladius/examples/cube/index.html" ],
[ "cube-impulse", "gladius/examples/cube-impulse/index.html" ],
[ "cube-collision", "gladius/examples/cube-collision/index.html" ],
[ "tank", "gladius/examples/tank/index.html"]
];
var element = document.getElementById( 'examples' );
for ( var i = 0; i < files.length; i ++ ) {
var file = files[ i ];
element.innerHTML += '<a id="griditem" href="' + file[ 1 ] + '"><img src="examples/' + file[ 0 ] + '.png"></a>';
}
</script>
</div>
<h4>Contribute to the Gallery</h4>
<p>
We're keen to see the simpler examples be made significantly prettier,
more fun, or more interesting. We'd also love to add your work to this
gallery and tweet about it too!
</p>
<p>
If you've got something, no matter how simple, don't be shy about
opening a <a href="https://github.com/gladiusjs/gladius/issues">github
issue</a> to chat with us about it!
</p>
<p>
The library and examples <a href="https://github.com/gladiusjs/gladius">
live on github</a>.
</p>
</div>
</body>
</html>