Difference between revisions of "Team:KU Leuven/Secret"

Line 26: Line 26:
  
 
<body onload="myFunction()" >
 
<body onload="myFunction()" >
 +
<div class="center">
 
<canvas id="canvas"></canvas>
 
<canvas id="canvas"></canvas>
 +
</div>
 
</body>
 
</body>
  
Line 34: Line 36:
  
 
var ctx = canvas.getContext("2d");
 
var ctx = canvas.getContext("2d");
canvas.width = screen.width - 20;
+
canvas.width = screen.width/2;
canvas.height = screen.height-100;
+
canvas.height = screen.height/2;
  
 
var start=0;
 
var start=0;

Revision as of 10:24, 16 August 2015