-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathhello_texture.html
30 lines (29 loc) · 926 Bytes
/
hello_texture.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1, IE=edge">
<title>Hello Texture</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: #FFFFFF;">
<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="./hello_texture.js"></script>
</body>
</html>