You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

35 lines
406 B

"use strict"
function keyPressed(){
}
function keyReleased(){
}
function mouseMoved(){
}
function mouseDragged(){
}
function mousePressed(){
}
function mouseReleased(){
}
window.onresize = function(){
let i = 0;
function resize(){
resizeCanvas($("#canvasHolder").outerWidth(), $("#canvasHolder").outerHeight(), true);
i++;
if (i < 5) window.setTimeout(resize, 0);
}
resize();
}