attempt at webgl

This commit is contained in:
Magnus Ulimoen
2019-03-27 22:19:52 +01:00
commit 2c5f3cd282
2 changed files with 114 additions and 0 deletions

13
index.html Normal file
View File

@@ -0,0 +1,13 @@
<!doctype html>
<!--https://developer.mozilla.org/en-US/docs/Web/API/WebGL_API/Tutorial/Adding_2D_content_to_a_WebGL_context-->
<html lang="en">
<head>
<title>WebGL test"</title>
<meta charset="utf-8">
</head>
<body>
<canvas id="glCanvas" width="640" height="480"></canvas>
</body>
<script src="main.js"></script>
</html>