-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
32 lines (31 loc) · 1.01 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Buttonfly</title>
<style>
.fullwindow {
position: absolute;
top: 0px;
left: 0px;
margin: 0px;
border: 0;
width: 100%;
height: 100%;
overflow: hidden;
display: block;
}
</style>
</head>
<body style="background-color: #000000;">
<div style="position: absolute; z-index: 1; left: 20px; bottom: 20px; color: white">
<a href="https://github.com/sgi-demos/" style="color: white">source</a>
</div>
<canvas class = "fullwindow" id="canvas" oncontextmenu="event.preventDefault()"/>
<script type="text/javascript">
var Module = {};
Module.canvas = document.getElementById('canvas');
</script>
<script async type="text/javascript" src="./buttonfly.js"></script>
</body>
</html>