Added debug canvas and webgl render canvas, added viewcontroller

This commit is contained in:
logsol 2012-07-13 03:11:29 +02:00
parent 486cb4f312
commit dd71bf79a9
9 changed files with 224 additions and 109 deletions

10
static/html/index.html Normal file → Executable file
View file

@ -3,7 +3,7 @@
<head>
<title>Chuck</title>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script>
<script data-main="client" src="require.js"></script>
<style>
html, body {
margin: 0;
@ -13,7 +13,7 @@
height: 100%;
background: #000;
}
#container {
#canvasContainer {
text-align: center;
display: table-cell;
vertical-align: middle;
@ -21,13 +21,13 @@
}
canvas {
background: #333;
margin: 10px;
}
</style>
</head>
<body>
<div id="container">
hello chuck<br>
<canvas id="canvas" width="600" height="400"></canvas>
<div id="canvasContainer">
</div>
<script data-main="client" src="require.js"></script>
</body>
</html>