passEncoder.setScissorRect(0, 0, canvas.width / 2, canvas.height / 2);GPURenderPassEncoder: setScissorRect() method
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.