ctx.clearRect(0, 0, canvas.width, canvas.height);
function clear() { this.context.clearRect(0, 0, window.innerWidth, window.innerHeight); }