Skip to content

A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.

985 B
Raw Blame
<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <!-- Mirrors the CSP a shipped page runs under (embind needs 'unsafe-eval'),
         so a render that fails here for a CSP reason fails there too. -->
    <meta
      http-equiv="Content-Security-Policy"
      content="default-src 'self'; script-src 'self' 'unsafe-eval' blob:; style-src 'self' 'unsafe-inline'; img-src 'self' data: blob:; font-src 'self' data:; connect-src 'self' ws:; worker-src 'self' blob:;"
    />
    <title>Estella Render Host</title>
    <style>
      /* No background: nothing should give the compositor work to do. The WebGPU
         capture takes the page, so margins have to be zero for it to line up. */
      html, body { margin: 0; padding: 0; }
    </style>
  </head>
  <body>
    <!-- Inert unless the page is opened with gltrace=1 (ESTELLA_VERIFY_GL_TRACE). -->
    <script src="./gltrace.js"></script>
    <script type="module" src="./host.js"></script>
  </body>
</html>