       ctx.fillRect(0, 0, demoCanvas.width, demoCanvas.height);

        log("SVGA Mode: 16.7M colors, up to 1280x1024 resolution");
      }

      function drawECSDemo() {
        for (let i = 0; i < demoCanvas.height; i++) {
          const hue = (i / demoCanvas.height) * 360;
          ctx.fillStyle = `hsl(${hue}, 100%, 50%)`;
          ctx.fillRect(0, i, demoCanvas.width, 1);
        }

        log("ECS Mode: Copperlist demo, smooth color transitions");
      }

      function drawAGADemo() {
        fo