Move build products and demo.html into subdir

This commit is contained in:
Christopher Willis-Ford
2016-05-13 11:42:40 -07:00
parent 51e17c57a9
commit 60931611d4
3 changed files with 5 additions and 5 deletions

21
build/demo.html Normal file
View File

@@ -0,0 +1,21 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Scratch WebGL rendering demo</title>
</head>
<body>
<canvas id="scratch-stage" width="10" height="10"></canvas>
</body>
<script src="render-webgl.js"></script>
<script>
var canvas = document.getElementById('scratch-stage');
var renderer = new RenderWebGL(canvas);
function step() {
renderer.draw();
requestAnimationFrame(step);
}
step();
</script>
</html>