spacebox/demo/box/index.html

32 lines
761 B
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<meta charset="utf-8">
<style>
body
{
background: #000;
}
</style>
</head>
<body>
<!-- WebGL output will be drawn here through Emscripten. The dimensions will be set by Emscripten. -->
<canvas id="canvas"></canvas>
<script>
var Module = {
/* Set Emscripten to use the canvas for display. */
canvas: document.getElementById("canvas")
};
</script>
<!-- This file is built by Emscripten when compiling the program -->
<script src="box_demo.js"></script>
</body>
</html>