Spaces:
Running
chore(sync): mirror front-door files to Space (hf-sync)
Browse filesAutomated front-door sync from szl-holdings/a11oy main via hf-sync.
Added/updated: cathedral.html, cathedral_genius.html, console/docs.html, console/index.html, console/pricing.html, console/throne-room.html, console/throne-room.js, live_wires.html, pages/api-keys.html, pages/assurance.html, pages/audit.html, pages/ayni.html, pages/brain-dual.html, pages/brain-jack.html, pages/brain.html, pages/chaski.html, pages/codex-kernel.html, pages/company.html, pages/compliance.html, pages/console.html, pages/counter-uas.html, pages/cued-engagement.html, pages/docs.html, pages/energy-ops.html, pages/evidence.html, pages/fabric.html, pages/gap-report.html, pages/harvest.html, pages/hatun-mcp.html, pages/hub.html, pages/integrations.html, pages/landing.html, pages/mesh.html, pages/observability.html, pages/operator_organ.html, pages/pinn.html, pages/pnt.html, pages/pricing.html, pages/run-all.html, pages/sdk.html, pages/security.html, pages/status.html, pages/substrate.html, pages/superpowers.html, pages/throne-room.html, pages/throne-room.js, pages/uds.html, pages/upgrades.html, pages/verify.html, pages/wallpa.html, pages/warhacker.html, pages/wasi-rikuq.html, pages/wires.html, static/a11oy_cathedral.js, static/cathedral_app.js, static/shared/szl_codename_sanitizer.js, static/shared/szl_holo3d.js, static/shared/szl_label_engine.js, static/shared/szl_receipt_cosign.js, web/agent-loop.html, web/agentic-gpu.html, web/autoreview.html, web/console.html, web/console_index.html, web/constitution.html, web/defense-readiness.html, web/determinacy.html, web/dns.html, web/elite_console.html, web/energy-3d.html, web/energy-holographic.html, web/energy.html, web/estate-hologram.html, web/fleet-c2.html, web/formulas.html, web/governance.html, web/holo.html, web/hologram.html, web/immune.html, web/index.html, web/living-anatomy.html, web/materials.html, web/nemo.html, web/operator.html, web/quant.html, web/restraint-bench.html, web/restraint.html, web/sda.html, web/signature-is-not-proof.html, web/v4_fleet_panel.html
Deleted (gone from GitHub main): (none)
Keeps the served front-door (pages/*.html, console/*.html) identical
to GitHub main so an HF factory rebuild never drops a GitHub edit or
keeps serving a page that was deleted on GitHub.
- web/energy-3d.html +241 -0
|
@@ -0,0 +1,241 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!doctype html>
|
| 2 |
+
<!--
|
| 3 |
+
a11oy — 3D Holographic Energy View (/energy-3d). Standalone sovereign page.
|
| 4 |
+
SOVEREIGN: Three.js r160 (MIT) vendored in-image at /hero/vendor3d. 0 runtime CDN.
|
| 5 |
+
TECHNIQUE (patterns reimplemented in our own code, permissive-licensed only):
|
| 6 |
+
- GPGPU FBO ping-pong particles — Three.js GPUComputationRenderer pattern (MIT), our own shaders
|
| 7 |
+
- Vizceral-style node-edge graph — Netflix Vizceral pattern (Apache-2.0), our own geometry/shaders
|
| 8 |
+
BINDING: GET /api/a11oy/v1/energy/mesh (poll ~2s) — per-node {role, live, watts, joules, draw}.
|
| 9 |
+
HONESTY DOCTRINE v11 LOCKED — particle speed/density ∝ live watts/draw; node brightness ∝ live
|
| 10 |
+
watts; DOWN nodes are dark (NEVER a fake glow); when the meter is UNAVAILABLE the structure is
|
| 11 |
+
shown in a clearly-labelled "posture-only, energy UNAVAILABLE" state with NO fabricated flow.
|
| 12 |
+
Λ = Conjecture 1 (advisory, NOT a theorem). locked-proven kernel = EXACTLY 8.
|
| 13 |
+
© Stephen P. Lutar Jr. (ORCID 0009-0001-0110-4173) · Apache-2.0
|
| 14 |
+
-->
|
| 15 |
+
<html lang="en">
|
| 16 |
+
<head>
|
| 17 |
+
<meta charset="utf-8" />
|
| 18 |
+
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
|
| 19 |
+
<title>a11oy — 3D Holographic Energy View</title>
|
| 20 |
+
<meta name="description" content="A live holographic view of the a11oy sovereign compute mesh: particle speed and edge flow bound to MEASURED watts/joules from the NVML meter. Down nodes shown dark; no fabricated energy." />
|
| 21 |
+
<link rel="icon" href="/social-preview.svg" />
|
| 22 |
+
<style>
|
| 23 |
+
:root{
|
| 24 |
+
--bg:#00040f; --deep:#070b16; --surface:#10161f; --border:#22304a;
|
| 25 |
+
--teal:#39d8c8; --teal-soft:#39d8c833; --violet:#6a7bff; --gold:#cda64a;
|
| 26 |
+
--ink:#eaf1f7; --sub:#9fb2c9; --ghost:#64768f;
|
| 27 |
+
--ok:#39d8c8; --warn:#cda64a; --down:#e06a6a;
|
| 28 |
+
--sans:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Roboto,Helvetica,Arial,sans-serif;
|
| 29 |
+
--mono:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,monospace;
|
| 30 |
+
}
|
| 31 |
+
*{box-sizing:border-box}
|
| 32 |
+
html,body{margin:0;padding:0;height:100%}
|
| 33 |
+
body{
|
| 34 |
+
background:
|
| 35 |
+
radial-gradient(1200px 800px at 70% -10%, #0d1830 0%, transparent 60%),
|
| 36 |
+
radial-gradient(900px 700px at 12% 8%, #0a1228 0%, transparent 55%),
|
| 37 |
+
var(--bg);
|
| 38 |
+
color:var(--ink); font-family:var(--sans); line-height:1.5;
|
| 39 |
+
-webkit-font-smoothing:antialiased; overflow:hidden;
|
| 40 |
+
}
|
| 41 |
+
a{color:inherit;text-decoration:none}
|
| 42 |
+
.mono{font-family:var(--mono)}
|
| 43 |
+
|
| 44 |
+
/* ---- nav ---- */
|
| 45 |
+
header.nav{position:fixed;top:0;left:0;right:0;z-index:40;
|
| 46 |
+
backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
|
| 47 |
+
background:linear-gradient(180deg,#00040fcc,#00040f66);
|
| 48 |
+
border-bottom:1px solid var(--border)}
|
| 49 |
+
.nav .wrap{display:flex;align-items:center;gap:18px;height:58px;max-width:1400px;margin:0 auto;padding:0 20px}
|
| 50 |
+
.brand{display:flex;align-items:center;gap:10px;font-weight:700;letter-spacing:.2px}
|
| 51 |
+
.brand .sub{color:var(--ghost);font-weight:500;font-size:11px;letter-spacing:2px;text-transform:uppercase}
|
| 52 |
+
.nav nav{margin-left:auto;display:flex;gap:4px;align-items:center;flex-wrap:wrap}
|
| 53 |
+
.nav nav a{padding:7px 12px;border-radius:9px;color:var(--sub);font-size:13.5px;font-weight:500;transition:.15s}
|
| 54 |
+
.nav nav a:hover{color:var(--ink);background:#ffffff0e}
|
| 55 |
+
.nav nav a.cur{color:var(--teal);background:#39d8c812}
|
| 56 |
+
|
| 57 |
+
/* ---- stage ---- */
|
| 58 |
+
#stage{position:fixed;inset:0;z-index:0}
|
| 59 |
+
#scene-canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
|
| 60 |
+
|
| 61 |
+
/* ---- HUD ---- */
|
| 62 |
+
.hud{position:fixed;z-index:20;pointer-events:none}
|
| 63 |
+
.panel{pointer-events:auto;border:1px solid var(--border);border-radius:14px;
|
| 64 |
+
background:linear-gradient(180deg,rgba(10,20,40,.82),rgba(7,11,22,.78));
|
| 65 |
+
backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
|
| 66 |
+
box-shadow:0 18px 50px -22px #000}
|
| 67 |
+
/* top-left: title + global status */
|
| 68 |
+
#hud-top{top:74px;left:18px;max-width:340px}
|
| 69 |
+
#hud-top .panel{padding:16px 18px}
|
| 70 |
+
#hud-top .kick{color:var(--teal);font-weight:600;font-size:11px;letter-spacing:1.6px;text-transform:uppercase;margin:0 0 6px}
|
| 71 |
+
#hud-top h1{font-size:1.18rem;font-weight:740;letter-spacing:-.4px;margin:0 0 10px}
|
| 72 |
+
#hud-top p{margin:0;color:var(--sub);font-size:12.5px}
|
| 73 |
+
.statline{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:12px}
|
| 74 |
+
.totals{margin-top:12px;display:flex;gap:16px;flex-wrap:wrap}
|
| 75 |
+
.totals .t .k{font-family:var(--mono);font-size:1.2rem;font-weight:700;line-height:1.1}
|
| 76 |
+
.totals .t .k.teal{color:var(--teal)}
|
| 77 |
+
.totals .t .l{font-size:10.5px;color:var(--ghost);text-transform:uppercase;letter-spacing:1px;margin-top:2px}
|
| 78 |
+
|
| 79 |
+
/* right: per-node cards */
|
| 80 |
+
#hud-nodes{top:74px;right:18px;width:308px;max-height:calc(100vh - 96px);overflow:auto}
|
| 81 |
+
#hud-nodes .panel{padding:14px 15px;margin-bottom:12px}
|
| 82 |
+
.node-card{position:relative}
|
| 83 |
+
.node-card .hd{display:flex;align-items:center;gap:9px}
|
| 84 |
+
.node-card .nm{font-weight:660;font-size:14px}
|
| 85 |
+
.node-card .role{font-family:var(--mono);font-size:10.5px;color:var(--ghost);
|
| 86 |
+
text-transform:uppercase;letter-spacing:1px;margin-top:1px}
|
| 87 |
+
.node-card .right{margin-left:auto}
|
| 88 |
+
.node-card .vals{display:flex;gap:14px;margin-top:11px}
|
| 89 |
+
.node-card .v .k{font-family:var(--mono);font-size:1.02rem;font-weight:700;line-height:1.05}
|
| 90 |
+
.node-card .v .l{font-size:10px;color:var(--ghost);text-transform:uppercase;letter-spacing:.8px;margin-top:2px}
|
| 91 |
+
.node-card .bar{height:5px;border-radius:3px;background:#ffffff10;margin-top:11px;overflow:hidden}
|
| 92 |
+
.node-card .bar i{display:block;height:100%;width:0;border-radius:3px;
|
| 93 |
+
background:linear-gradient(90deg,var(--teal),var(--violet));transition:width .6s ease}
|
| 94 |
+
.node-card.down{opacity:.62}
|
| 95 |
+
.node-card.down .nm{color:var(--sub)}
|
| 96 |
+
.swatch{width:10px;height:10px;border-radius:3px;flex:0 0 auto;box-shadow:0 0 8px currentColor}
|
| 97 |
+
|
| 98 |
+
/* chips */
|
| 99 |
+
.chip{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;
|
| 100 |
+
font-size:11px;font-weight:600;font-family:var(--mono);border:1px solid var(--border);white-space:nowrap}
|
| 101 |
+
.chip .dot{width:7px;height:7px;border-radius:50%}
|
| 102 |
+
.chip.measured{color:var(--ok);border-color:#39d8c855;background:#39d8c810}
|
| 103 |
+
.chip.measured .dot{background:var(--ok);box-shadow:0 0 8px var(--ok)}
|
| 104 |
+
.chip.unavailable{color:var(--gold);border-color:#cda64a55;background:#cda64a10}
|
| 105 |
+
.chip.unavailable .dot{background:var(--gold)}
|
| 106 |
+
.chip.down{color:var(--down);border-color:#e06a6a55;background:#e06a6a10}
|
| 107 |
+
.chip.down .dot{background:var(--down)}
|
| 108 |
+
.chip.live{color:var(--ok);border-color:#39d8c855;background:#39d8c810}
|
| 109 |
+
.chip.live .dot{background:var(--ok);box-shadow:0 0 8px var(--ok)}
|
| 110 |
+
.chip.wait{color:var(--ghost)}
|
| 111 |
+
.chip.wait .dot{background:var(--ghost)}
|
| 112 |
+
.chip.unknown{color:var(--sub);border-color:#9fb2c955;background:#9fb2c910}
|
| 113 |
+
.chip.unknown .dot{background:var(--sub)}
|
| 114 |
+
|
| 115 |
+
/* bottom strip: doctrine + legend */
|
| 116 |
+
#hud-foot{bottom:14px;left:18px;right:18px;display:flex;gap:12px;align-items:flex-end;justify-content:space-between;flex-wrap:wrap}
|
| 117 |
+
#hud-foot .panel{padding:10px 14px;font-size:11.5px;color:var(--ghost);max-width:760px}
|
| 118 |
+
#hud-foot .legend{display:flex;gap:14px;flex-wrap:wrap;align-items:center}
|
| 119 |
+
#hud-foot .legend span{display:inline-flex;align-items:center;gap:6px;color:var(--sub)}
|
| 120 |
+
#hud-foot .legend i{width:11px;height:11px;border-radius:3px;display:block}
|
| 121 |
+
|
| 122 |
+
/* honest fallback (no WebGL) */
|
| 123 |
+
#fallback{position:fixed;inset:0;z-index:10;display:none;align-items:center;justify-content:center;padding:24px}
|
| 124 |
+
#fallback .panel{padding:28px;max-width:560px}
|
| 125 |
+
#fallback h2{margin:0 0 10px;font-size:1.3rem}
|
| 126 |
+
#fallback p{color:var(--sub);margin:0 0 16px}
|
| 127 |
+
#fallback .fb-nodes{display:flex;flex-direction:column;gap:8px}
|
| 128 |
+
#fallback .fb-node{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--border);border-radius:10px}
|
| 129 |
+
|
| 130 |
+
.muted{color:var(--ghost)}
|
| 131 |
+
@media(max-width:820px){
|
| 132 |
+
#hud-nodes{position:fixed;left:12px;right:12px;width:auto;top:auto;bottom:118px;max-height:38vh;
|
| 133 |
+
display:flex;gap:10px;overflow-x:auto;overflow-y:hidden}
|
| 134 |
+
#hud-nodes .panel{min-width:230px;margin-bottom:0}
|
| 135 |
+
#hud-top{left:12px;right:12px;max-width:none}
|
| 136 |
+
#hud-foot{left:12px;right:12px}
|
| 137 |
+
}
|
| 138 |
+
</style>
|
| 139 |
+
</head>
|
| 140 |
+
<body>
|
| 141 |
+
|
| 142 |
+
<!-- ============================ NAV ============================ -->
|
| 143 |
+
<header class="nav">
|
| 144 |
+
<div class="wrap">
|
| 145 |
+
<a class="brand" href="/" aria-label="a11oy home">
|
| 146 |
+
<svg width="28" height="28" viewBox="0 0 32 32" fill="none" aria-hidden="true">
|
| 147 |
+
<defs><linearGradient id="lg" x1="0" y1="0" x2="1" y2="1">
|
| 148 |
+
<stop offset="0" stop-color="#39d8c8"/><stop offset="1" stop-color="#6a7bff"/></linearGradient></defs>
|
| 149 |
+
<circle cx="16" cy="16" r="13" stroke="url(#lg)" stroke-width="2"/>
|
| 150 |
+
<circle cx="16" cy="16" r="5" fill="url(#lg)"/>
|
| 151 |
+
<path d="M16 3v8M16 21v8M3 16h8M21 16h8" stroke="url(#lg)" stroke-width="1.6" opacity=".7"/>
|
| 152 |
+
</svg>
|
| 153 |
+
<span>a11oy<span class="sub" style="margin-left:8px">SZL Holdings</span></span>
|
| 154 |
+
</a>
|
| 155 |
+
<nav>
|
| 156 |
+
<a href="/energy">Energy</a>
|
| 157 |
+
<a href="/energy-ops">Energy Ops</a>
|
| 158 |
+
<a class="cur" href="/energy-3d">3D Holographic</a>
|
| 159 |
+
<a href="/console">Console</a>
|
| 160 |
+
<a href="/governance">Governance</a>
|
| 161 |
+
</nav>
|
| 162 |
+
</div>
|
| 163 |
+
</header>
|
| 164 |
+
|
| 165 |
+
<!-- ============================ STAGE ============================ -->
|
| 166 |
+
<div id="stage"><canvas id="scene-canvas"></canvas></div>
|
| 167 |
+
|
| 168 |
+
<!-- ============================ HUD ============================ -->
|
| 169 |
+
<div class="hud" id="hud-top">
|
| 170 |
+
<div class="panel">
|
| 171 |
+
<p class="kick">Proven Energy Engine · 3D Holographic View</p>
|
| 172 |
+
<h1>Sovereign mesh, live in joules.</h1>
|
| 173 |
+
<p>Particle speed and edge flow are bound to <b>MEASURED</b> watts from the on-box NVML meter.
|
| 174 |
+
A node that is down is shown dark — never a fake glow.</p>
|
| 175 |
+
<div class="statline">
|
| 176 |
+
<span class="chip wait" id="status-chip"><span class="dot"></span>connecting…</span>
|
| 177 |
+
<span class="chip wait" id="mesh-chip"><span class="dot"></span>mesh —</span>
|
| 178 |
+
</div>
|
| 179 |
+
<div class="totals">
|
| 180 |
+
<div class="t"><div class="k teal" id="tot-watts">—</div><div class="l">Total mesh draw (W)</div></div>
|
| 181 |
+
<div class="t"><div class="k" id="tot-joules">—</div><div class="l">Total joules</div></div>
|
| 182 |
+
</div>
|
| 183 |
+
</div>
|
| 184 |
+
</div>
|
| 185 |
+
|
| 186 |
+
<div class="hud" id="hud-nodes" aria-live="polite">
|
| 187 |
+
<div class="panel"><div class="muted mono" style="font-size:12px">Querying /api/a11oy/v1/energy/mesh…</div></div>
|
| 188 |
+
</div>
|
| 189 |
+
|
| 190 |
+
<div class="hud" id="hud-foot">
|
| 191 |
+
<div class="panel">
|
| 192 |
+
Energy is <b>MEASURED</b> only from a reachable NVML exporter; when the meter is UNAVAILABLE the
|
| 193 |
+
mesh structure is shown posture-only with <b>no fabricated flow</b>. Λ is Conjecture 1 (advisory,
|
| 194 |
+
not a theorem); the locked-proven kernel is exactly 8. Reimplemented patterns: GPGPU particles
|
| 195 |
+
(Three.js, MIT) · Vizceral-style graph (Apache-2.0). © Stephen P. Lutar Jr. · Apache-2.0.
|
| 196 |
+
</div>
|
| 197 |
+
<div class="panel legend">
|
| 198 |
+
<span><i style="background:linear-gradient(90deg,#39d8c8,#6a7bff)"></i>energy flow ∝ draw</span>
|
| 199 |
+
<span><i style="background:#39d8c8;box-shadow:0 0 8px #39d8c8"></i>live node</span>
|
| 200 |
+
<span><i style="background:#2a3550"></i>down / dark</span>
|
| 201 |
+
</div>
|
| 202 |
+
</div>
|
| 203 |
+
|
| 204 |
+
<!-- honest no-WebGL fallback: 2D node list with the same honest labels -->
|
| 205 |
+
<div id="fallback">
|
| 206 |
+
<div class="panel">
|
| 207 |
+
<h2>WebGL unavailable — honest 2D fallback</h2>
|
| 208 |
+
<p>Your browser/device did not provide a WebGL context, so the holographic scene cannot render.
|
| 209 |
+
The live mesh posture is shown below with the same honest labels — no fabricated energy.</p>
|
| 210 |
+
<div class="fb-nodes" id="fb-nodes"><div class="muted mono">loading mesh…</div></div>
|
| 211 |
+
</div>
|
| 212 |
+
</div>
|
| 213 |
+
|
| 214 |
+
<!-- ===================== SOVEREIGN IMPORTMAP (vendored, NO CDN) ===================== -->
|
| 215 |
+
<script type="importmap">
|
| 216 |
+
{ "imports": {
|
| 217 |
+
"three": "/hero/vendor3d/three.module.min.js",
|
| 218 |
+
"three/addons/": "/hero/vendor3d/"
|
| 219 |
+
} }
|
| 220 |
+
</script>
|
| 221 |
+
|
| 222 |
+
<!-- ===================== BOOT (Three.js holographic energy mesh) ===================== -->
|
| 223 |
+
<script type="module">
|
| 224 |
+
import { mountEnergy3D } from "/energy-3d/app.js";
|
| 225 |
+
const canvas = document.getElementById("scene-canvas");
|
| 226 |
+
function showFallback(){
|
| 227 |
+
canvas.style.display = "none";
|
| 228 |
+
document.getElementById("stage").style.display = "none";
|
| 229 |
+
document.getElementById("fallback").style.display = "flex";
|
| 230 |
+
}
|
| 231 |
+
try {
|
| 232 |
+
const h = mountEnergy3D({ canvas, fallback: showFallback });
|
| 233 |
+
if (!h || !h.ok) showFallback();
|
| 234 |
+
else window.__a11oyEnergy3D = h;
|
| 235 |
+
} catch (e) {
|
| 236 |
+
console.error("[energy-3d] boot failed:", e);
|
| 237 |
+
showFallback();
|
| 238 |
+
}
|
| 239 |
+
</script>
|
| 240 |
+
</body>
|
| 241 |
+
</html>
|