<html>
    <body>
        <canvas id="webgpu_canvas" width="960" height="600"></canvas>
        <script>
async function main() {
  if (!navigator.gpu) {
    console.log("WebGPU is not supported on this browser.");
    return;
  }

  const canvas = document.getElementById("webgpu_canvas");
  
  const adapter = await navigator.gpu.requestAdapter();
  if (!adapter) {
    console.log("WebGPU is not supported on this browser.");
    return;
  }
  const device = await adapter.requestDevice();

