-
Notifications
You must be signed in to change notification settings - Fork 6
/
index.html
26 lines (22 loc) · 884 Bytes
/
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
<!DOCTYPE html>
<html>
<head>
<title id="page_title">My Shader Demo</title>
</head>
<body>
<!--
$$$$$$ $$$ $$ $$ $$ $$$$$$ $$$$$
$$ $$ $$$ $$ $$ $$ $$ $$ $$ $$
$$$$$$ $$$ $$$$$ $$ $$$$$$ $$$$$$$
$$$ $$$ $$ $$ $$$$$$ $$ $$ $$
-->
<style>
canvas {position:absolute;top:0;left:0;z-index:0;width:100%;height:100%;}
</style>
<div style="font-size:4em;font-family:sans-serif;"><div id="startmessage"><em>click anywhere to start<div style="font-size:0.25em;">(and click "Allow" to enable camera)</em></div></div><canvas id='c'></canvas></div>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
<script src='pxslabs.js'></script>
<script src='pxshaders.js'></script>
<script src='demo_webgl.js'></script>
</body>
</html>