1(window.onresize = () => {
2 canvas.width = innerWidth, canvas.height = innerHeight;
3})();
1canvasElement.width = 1920;
2canvasElement.height = 1080;
3// note, canvasElement.style.width != canvasElement.width
4// cE.style.width is the size of the canvas and cE.width is it's resolution