 palette");
      }

      function drawHDRDemo() {
        ctx.fillStyle = "black";
        ctx.fillRect(0, 0, demoCanvas.width, demoCanvas.height);

        const centerX = demoCanvas.width / 2;
        const centerY = demoCanvas.height / 2;
        const radius = Math.min(centerX, centerY) - 10;

        const gradient = ctx.createRadialGradient(
          centerX,
          centerY,
          0,
          centerX,
          centerY,
          radius,
        );
        gradient.addColorStop(0, "rgba(255