You need to use CSS to fit canvas to windows.
#box { overflow: hidden; } #canvas { position: absolute; top: 0px; left: 0px; }
You need to use CSS to fit canvas to windows.
#box { overflow: hidden; } #canvas { position: absolute; top: 0px; left: 0px; }