Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

update html file

  • Loading branch information...
commit 31459bdb721c3c6599736c44c6bfc25c946edd21 1 parent b4dae9e
hchin authored
Showing with 1 addition and 19 deletions.
  1. +1 −19 client/gosu_view.html
View
20 client/gosu_view.html
@@ -3,31 +3,13 @@
<script src="processing.js"></script>
</head>
<p><canvas id="canvas1" width="400" height="400"></canvas></p>
+<canvas data-processing-sources="viewer.pde"></canvas>
<script id="script1" type="text/javascript">
-
-// draw gosu view
-
function gosu(inputcode, timestamp)
{
}
-function sketchProc(pd)
-{
- // Override draw function, by default it will be called 60 times per second
- pd.draw = function()
- {
- pd.background(224);
- var now = new Date();
- pd.text(now, 20, 20);
- };
-
-}
-
-var canvas = document.getElementById("canvas1");
-// attaching the sketchProc function to the canvas
-var p = new Processing(canvas, sketchProc);
-// p.exit(); to detach it
</script>
<div style="height:0px;width:0px;overflow:hidden;"></div>
Please sign in to comment.
Something went wrong with that request. Please try again.