-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
31 lines (29 loc) · 816 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
27
28
29
30
31
<head>
<meta charset="utf-8">
<title>TITLE</title>
<style>
html,
body,
canvas {
margin: 0px;
padding: 0px;
width: 100%;
height: 100%;
overflow: hidden;
position: absolute;
background: black;
z-index: 0;
}
</style>
</head>
<body>
<canvas id="glcanvas" tabindex='1'></canvas>
<!-- Minified and statically hosted version of https://github.com/not-fl3/miniquad/blob/master/native/sapp-wasm/js/gl.js -->
<script src="gl-0.2.55.js"></script>
<script src="https://not-fl3.github.io/miniquad-samples/sapp_jsutils.js"></script>
<script>
load("lines.wasm");
console.log("loaded");
</script> <!-- Your compiled wasm file -->
</body>
</html>