Agent skill for creative 3D visualization: turn an idea into a Three.js/Blender scene worth exploring. Claude Code + Codex plugin, 223 recipes, 440 knowledge records, 22 proved kits, 37 runnable studies.
fix(site): phone Show 3D modal loading line and embed chrome
Nguyễn Nam Longd0345c43f5b4
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex adab447..aa5642a 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -4,6 +4,8 @@ Changes are recorded here before a versioned release. There is no published rele## Unreleased+- **Phone Show 3D modal.** Replaced the study loading line (`Preparing the study…` → `Loading…`) and stopped it wrapping glyph-by-glyph in a short iframe. On small screens the dialog fills the viewport instead of a 16:9 letterbox; the iframe loads with `?embed=1` so the in-frame title, readouts and hint do not cover the model (toolbar and notes stay). Full-page phone studies keep a smaller title and drop the readout chips.+- Added advisory model-construction and deformation reasoning: distinguish blockout, structural detail and surface finish; revisit rig ownership after geometry edits; diagnose solver, skin and attachment behavior separately; inspect failing motion intervals and reconsider repeated local patches. Updated two existing knowledge records with evidence and retrieval terms. No new quality gate, numeric rig defaults or runtime-certification claim.- Added conditional surface-continuity and material-direction guidance (2026-09-10): choose continuous skin, layered coverings or articulated parts by the object; target redundant geometry without erasing useful interiors; distinguish buffer merging from solid union. Material references now lead to part assignments, palette relationships and surface scale. Workflow links expose these choices without mandatory fusion, manifoldness or A/B gates. No dataset records or general runtime-quality claims are added.diff --git a/examples/arm/index.html b/examples/arm/index.htmlindex 9d76d78..3bf880f 100644--- a/examples/arm/index.html+++ b/examples/arm/index.html@@ -1,3 +1,3 @@<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="theme-color" content="#0c151a"><title>Interactive 3D study</title><link rel="stylesheet" href="../shared/style.css"></head>-<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Preparing the study…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>+<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Loading…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>diff --git a/examples/bloch/index.html b/examples/bloch/index.htmlindex 9d76d78..3bf880f 100644--- a/examples/bloch/index.html+++ b/examples/bloch/index.html@@ -1,3 +1,3 @@<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="theme-color" content="#0c151a"><title>Interactive 3D study</title><link rel="stylesheet" href="../shared/style.css"></head>-<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Preparing the study…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>+<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Loading…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>diff --git a/examples/blue-hour/index.html b/examples/blue-hour/index.htmlindex 9d76d78..3bf880f 100644--- a/examples/blue-hour/index.html+++ b/examples/blue-hour/index.html@@ -1,3 +1,3 @@<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="theme-color" content="#0c151a"><title>Interactive 3D study</title><link rel="stylesheet" href="../shared/style.css"></head>-<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Preparing the study…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>+<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Loading…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>diff --git a/examples/brain/index.html b/examples/brain/index.htmlindex 9d76d78..3bf880f 100644--- a/examples/brain/index.html+++ b/examples/brain/index.html@@ -1,3 +1,3 @@<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="theme-color" content="#0c151a"><title>Interactive 3D study</title><link rel="stylesheet" href="../shared/style.css"></head>-<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Preparing the study…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>+<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Loading…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>diff --git a/examples/breathing/index.html b/examples/breathing/index.htmlindex 9d76d78..3bf880f 100644--- a/examples/breathing/index.html+++ b/examples/breathing/index.html@@ -1,3 +1,3 @@<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="theme-color" content="#0c151a"><title>Interactive 3D study</title><link rel="stylesheet" href="../shared/style.css"></head>-<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Preparing the study…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>+<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Loading…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>diff --git a/examples/cavern/index.html b/examples/cavern/index.htmlindex 9d76d78..3bf880f 100644--- a/examples/cavern/index.html+++ b/examples/cavern/index.html@@ -1,3 +1,3 @@<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="theme-color" content="#0c151a"><title>Interactive 3D study</title><link rel="stylesheet" href="../shared/style.css"></head>-<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Preparing the study…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>+<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Loading…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>diff --git a/examples/chaos/index.html b/examples/chaos/index.htmlindex 9d76d78..3bf880f 100644--- a/examples/chaos/index.html+++ b/examples/chaos/index.html@@ -1,3 +1,3 @@<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="theme-color" content="#0c151a"><title>Interactive 3D study</title><link rel="stylesheet" href="../shared/style.css"></head>-<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Preparing the study…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>+<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Loading…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>diff --git a/examples/complex/index.html b/examples/complex/index.htmlindex 9d76d78..3bf880f 100644--- a/examples/complex/index.html+++ b/examples/complex/index.html@@ -1,3 +1,3 @@<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="theme-color" content="#0c151a"><title>Interactive 3D study</title><link rel="stylesheet" href="../shared/style.css"></head>-<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Preparing the study…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>+<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Loading…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>diff --git a/examples/cottage/index.html b/examples/cottage/index.htmlindex 9d76d78..3bf880f 100644--- a/examples/cottage/index.html+++ b/examples/cottage/index.html@@ -1,3 +1,3 @@<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="theme-color" content="#0c151a"><title>Interactive 3D study</title><link rel="stylesheet" href="../shared/style.css"></head>-<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Preparing the study…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>+<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Loading…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>diff --git a/examples/differential/index.html b/examples/differential/index.htmlindex 9d76d78..3bf880f 100644--- a/examples/differential/index.html+++ b/examples/differential/index.html@@ -1,3 +1,3 @@<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="theme-color" content="#0c151a"><title>Interactive 3D study</title><link rel="stylesheet" href="../shared/style.css"></head>-<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Preparing the study…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>+<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Loading…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>diff --git a/examples/fourier/index.html b/examples/fourier/index.htmlindex 9d76d78..3bf880f 100644--- a/examples/fourier/index.html+++ b/examples/fourier/index.html@@ -1,3 +1,3 @@<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="theme-color" content="#0c151a"><title>Interactive 3D study</title><link rel="stylesheet" href="../shared/style.css"></head>-<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Preparing the study…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>+<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Loading…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>diff --git a/examples/gears/index.html b/examples/gears/index.htmlindex 9d76d78..3bf880f 100644--- a/examples/gears/index.html+++ b/examples/gears/index.html@@ -1,3 +1,3 @@<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="theme-color" content="#0c151a"><title>Interactive 3D study</title><link rel="stylesheet" href="../shared/style.css"></head>-<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Preparing the study…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>+<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Loading…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>diff --git a/examples/guildhall/index.html b/examples/guildhall/index.htmlindex 9d76d78..3bf880f 100644--- a/examples/guildhall/index.html+++ b/examples/guildhall/index.html@@ -1,3 +1,3 @@<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="theme-color" content="#0c151a"><title>Interactive 3D study</title><link rel="stylesheet" href="../shared/style.css"></head>-<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Preparing the study…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>+<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Loading…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>diff --git a/examples/hall/index.html b/examples/hall/index.htmlindex 9d76d78..3bf880f 100644--- a/examples/hall/index.html+++ b/examples/hall/index.html@@ -1,3 +1,3 @@<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="theme-color" content="#0c151a"><title>Interactive 3D study</title><link rel="stylesheet" href="../shared/style.css"></head>-<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Preparing the study…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>+<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Loading…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>diff --git a/examples/heart/index.html b/examples/heart/index.htmlindex 9d76d78..3bf880f 100644--- a/examples/heart/index.html+++ b/examples/heart/index.html@@ -1,3 +1,3 @@<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="theme-color" content="#0c151a"><title>Interactive 3D study</title><link rel="stylesheet" href="../shared/style.css"></head>-<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Preparing the study…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>+<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Loading…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>diff --git a/examples/knee/index.html b/examples/knee/index.htmlindex 9d76d78..3bf880f 100644--- a/examples/knee/index.html+++ b/examples/knee/index.html@@ -1,3 +1,3 @@<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="theme-color" content="#0c151a"><title>Interactive 3D study</title><link rel="stylesheet" href="../shared/style.css"></head>-<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Preparing the study…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>+<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Loading…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>diff --git a/examples/lantern/index.html b/examples/lantern/index.htmlindex 9d76d78..3bf880f 100644--- a/examples/lantern/index.html+++ b/examples/lantern/index.html@@ -1,3 +1,3 @@<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="theme-color" content="#0c151a"><title>Interactive 3D study</title><link rel="stylesheet" href="../shared/style.css"></head>-<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Preparing the study…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>+<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Loading…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>diff --git a/examples/magnetic/index.html b/examples/magnetic/index.htmlindex 9d76d78..3bf880f 100644--- a/examples/magnetic/index.html+++ b/examples/magnetic/index.html@@ -1,3 +1,3 @@<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="theme-color" content="#0c151a"><title>Interactive 3D study</title><link rel="stylesheet" href="../shared/style.css"></head>-<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Preparing the study…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>+<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Loading…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>diff --git a/examples/market/index.html b/examples/market/index.htmlindex 9d76d78..3bf880f 100644--- a/examples/market/index.html+++ b/examples/market/index.html@@ -1,3 +1,3 @@<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="theme-color" content="#0c151a"><title>Interactive 3D study</title><link rel="stylesheet" href="../shared/style.css"></head>-<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Preparing the study…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>+<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Loading…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>diff --git a/examples/muscle-atlas/index.html b/examples/muscle-atlas/index.htmlindex 9d76d78..3bf880f 100644--- a/examples/muscle-atlas/index.html+++ b/examples/muscle-atlas/index.html@@ -1,3 +1,3 @@<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="theme-color" content="#0c151a"><title>Interactive 3D study</title><link rel="stylesheet" href="../shared/style.css"></head>-<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Preparing the study…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>+<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Loading…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>diff --git a/examples/neuron/index.html b/examples/neuron/index.htmlindex 9d76d78..3bf880f 100644--- a/examples/neuron/index.html+++ b/examples/neuron/index.html@@ -1,3 +1,3 @@<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="theme-color" content="#0c151a"><title>Interactive 3D study</title><link rel="stylesheet" href="../shared/style.css"></head>-<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Preparing the study…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>+<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Loading…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>diff --git a/examples/night-bridge/index.html b/examples/night-bridge/index.htmlindex 9d76d78..3bf880f 100644--- a/examples/night-bridge/index.html+++ b/examples/night-bridge/index.html@@ -1,3 +1,3 @@<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="theme-color" content="#0c151a"><title>Interactive 3D study</title><link rel="stylesheet" href="../shared/style.css"></head>-<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Preparing the study…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>+<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Loading…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>diff --git a/examples/night-doorway/index.html b/examples/night-doorway/index.htmlindex 9d76d78..3bf880f 100644--- a/examples/night-doorway/index.html+++ b/examples/night-doorway/index.html@@ -1,3 +1,3 @@<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="theme-color" content="#0c151a"><title>Interactive 3D study</title><link rel="stylesheet" href="../shared/style.css"></head>-<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Preparing the study…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>+<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Loading…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>diff --git a/examples/night-mill/index.html b/examples/night-mill/index.htmlindex 9d76d78..3bf880f 100644--- a/examples/night-mill/index.html+++ b/examples/night-mill/index.html@@ -1,3 +1,3 @@<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="theme-color" content="#0c151a"><title>Interactive 3D study</title><link rel="stylesheet" href="../shared/style.css"></head>-<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Preparing the study…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>+<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Loading…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>diff --git a/examples/night-river/index.html b/examples/night-river/index.htmlindex 9d76d78..3bf880f 100644--- a/examples/night-river/index.html+++ b/examples/night-river/index.html@@ -1,3 +1,3 @@<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="theme-color" content="#0c151a"><title>Interactive 3D study</title><link rel="stylesheet" href="../shared/style.css"></head>-<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Preparing the study…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>+<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Loading…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>diff --git a/examples/optics/index.html b/examples/optics/index.htmlindex 9d76d78..3bf880f 100644--- a/examples/optics/index.html+++ b/examples/optics/index.html@@ -1,3 +1,3 @@<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="theme-color" content="#0c151a"><title>Interactive 3D study</title><link rel="stylesheet" href="../shared/style.css"></head>-<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Preparing the study…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>+<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Loading…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>diff --git a/examples/orrery/index.html b/examples/orrery/index.htmlindex 9d76d78..3bf880f 100644--- a/examples/orrery/index.html+++ b/examples/orrery/index.html@@ -1,3 +1,3 @@<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="theme-color" content="#0c151a"><title>Interactive 3D study</title><link rel="stylesheet" href="../shared/style.css"></head>-<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Preparing the study…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>+<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Loading…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>diff --git a/examples/probability/index.html b/examples/probability/index.htmlindex 9d76d78..3bf880f 100644--- a/examples/probability/index.html+++ b/examples/probability/index.html@@ -1,3 +1,3 @@<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="theme-color" content="#0c151a"><title>Interactive 3D study</title><link rel="stylesheet" href="../shared/style.css"></head>-<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Preparing the study…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>+<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Loading…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>diff --git a/examples/resonance/index.html b/examples/resonance/index.htmlindex 9d76d78..3bf880f 100644--- a/examples/resonance/index.html+++ b/examples/resonance/index.html@@ -1,3 +1,3 @@<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="theme-color" content="#0c151a"><title>Interactive 3D study</title><link rel="stylesheet" href="../shared/style.css"></head>-<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Preparing the study…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>+<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Loading…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>diff --git a/examples/sarcomere/index.html b/examples/sarcomere/index.htmlindex 9d76d78..3bf880f 100644--- a/examples/sarcomere/index.html+++ b/examples/sarcomere/index.html@@ -1,3 +1,3 @@<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="theme-color" content="#0c151a"><title>Interactive 3D study</title><link rel="stylesheet" href="../shared/style.css"></head>-<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Preparing the study…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>+<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Loading…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>diff --git a/examples/shared/page-chrome.js b/examples/shared/page-chrome.jsindex 74c8bb6..d53f51c 100644--- a/examples/shared/page-chrome.js+++ b/examples/shared/page-chrome.js@@ -1,12 +1,17 @@-/** Chrome-free capture mode. `?plate=1` marks the document so style.css hides the page chrome;- * the viewer contract, the loading state and the error state are untouched, so a capture can- * still drive `window.__viewer` and still see a failure. */+/** Page-chrome flags. `?plate=1` hides every HUD for capture. `?embed=1` hides the title, readouts+ * and hint so a host (the landing-page modal) can supply its own chrome without covering the model.+ * The viewer contract, the loading state and the error state stay visible in both modes. *//** True only for an explicit `plate=1`; any other value (or none) leaves the page as authored. */export function plateMode(search){return new URLSearchParams(typeof search==='string'?search:'').get('plate')==='1';}+/** True only for an explicit `embed=1`. */+export function embedMode(search){+ return new URLSearchParams(typeof search==='string'?search:'').get('embed')==='1';+}+/** Sets `data-plate="1"` on `<html>` when plate mode is on. Returns the mode, never throws on a* document stub without a documentElement (the node test passes one). */export function applyPlate(doc,search){@@ -14,3 +19,10 @@ export function applyPlate(doc,search){if(plate&&doc?.documentElement?.dataset)doc.documentElement.dataset.plate='1';return plate;}++/** Sets `data-embed="1"` on `<html>` when embed mode is on. Same stub-safety as `applyPlate`. */+export function applyEmbed(doc,search){+ const embed=embedMode(search);+ if(embed&&doc?.documentElement?.dataset)doc.documentElement.dataset.embed='1';+ return embed;+}diff --git a/examples/shared/page-chrome.test.js b/examples/shared/page-chrome.test.jsindex 31dd292..cb02ce0 100644--- a/examples/shared/page-chrome.test.js+++ b/examples/shared/page-chrome.test.js@@ -1,6 +1,6 @@import assert from 'node:assert/strict';import test from 'node:test';-import {applyPlate,plateMode} from './page-chrome.js';+import {applyEmbed,applyPlate,embedMode,plateMode} from './page-chrome.js';const stub=()=>({documentElement:{dataset:{}}});@@ -29,3 +29,24 @@ test('plate mode survives other query parameters and marks the document once',()assert.equal(plain.documentElement.dataset.plate,undefined);assert.equal(applyPlate({},'?plate=1'),true);});++test('embed=1 turns embed mode on',()=>{+ assert.equal(embedMode('?embed=1'),true);+ assert.equal(embedMode('embed=1'),true);+});++test('embed=0 and any other value leave embed mode off',()=>{+ assert.equal(embedMode('?embed=0'),false);+ assert.equal(embedMode('?embed=true'),false);+ assert.equal(embedMode('?plate=1'),false);+});++test('embed mode survives other query parameters and marks the document once',()=>{+ const doc=stub();+ assert.equal(applyEmbed(doc,'?embed=1&view=overview'),true);+ assert.equal(doc.documentElement.dataset.embed,'1');+ const plain=stub();+ assert.equal(applyEmbed(plain,'?view=overview'),false);+ assert.equal(plain.documentElement.dataset.embed,undefined);+ assert.equal(applyEmbed({},'?embed=1'),true);+});diff --git a/examples/shared/page-shell.test.js b/examples/shared/page-shell.test.jsnew file mode 100644index 0000000..6a15ede--- /dev/null+++ b/examples/shared/page-shell.test.js@@ -0,0 +1,27 @@+import assert from 'node:assert/strict';+import test from 'node:test';+import {existsSync,readdirSync,readFileSync} from 'node:fs';+import {fileURLToPath} from 'node:url';+import path from 'node:path';++const examples=fileURLToPath(new URL('..',import.meta.url));+const loading='<div id="loading" role="status">Loading…</div>';+const skip=new Set(['shared','node_modules','public','dist','scripts']);++test('the shared page shell uses a single-line Loading… status',()=>{+ const page=readFileSync(path.join(examples,'shared/page.html'),'utf8');+ assert.equal(page.includes(loading),true);+ assert.equal(page.includes('Preparing the study'),false);+});++test('every study index.html uses the same loading copy',()=>{+ const withPage=readdirSync(examples,{withFileTypes:true})+ .filter((entry)=>entry.isDirectory()&&!skip.has(entry.name)&&existsSync(path.join(examples,entry.name,'index.html')))+ .map((entry)=>entry.name)+ .sort();+ assert.equal(withPage.length,37,`expected 37 studies, got ${withPage.length}: ${withPage.join(',')}`);+ for(const id of withPage){+ const html=readFileSync(path.join(examples,id,'index.html'),'utf8');+ assert.equal(html.includes(loading),true,id);+ }+});diff --git a/examples/shared/page.html b/examples/shared/page.htmlindex 9d76d78..3bf880f 100644--- a/examples/shared/page.html+++ b/examples/shared/page.html@@ -1,3 +1,3 @@<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="theme-color" content="#0c151a"><title>Interactive 3D study</title><link rel="stylesheet" href="../shared/style.css"></head>-<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Preparing the study…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>+<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Loading…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>diff --git a/examples/shared/standalone-runtime.js b/examples/shared/standalone-runtime.jsindex d3095c0..cff47b5 100644--- a/examples/shared/standalone-runtime.js+++ b/examples/shared/standalone-runtime.js@@ -2,7 +2,7 @@ import * as THREE from 'three';import {createCameraRig} from './camera-orbit-follow.js';import {createStudioRig} from './lighting-studio.js';import {createRenderLoop} from './render-loop.js';-import {applyPlate} from './page-chrome.js';+import {applyEmbed,applyPlate} from './page-chrome.js';import {installViewer} from './viewer-contract.js';import {NIGHT_VIEWS,createNightLighting} from './breadth/src/night-lighting.js';@@ -48,7 +48,7 @@ function gradientSky(zenith='#0d0f12',horizon='#1c2026'){}export async function mountScene({meta,createScene,kind='study',look='craft',nightName=null,views=null}){- applyPlate(document,location.search);+ applyPlate(document,location.search);applyEmbed(document,location.search);window.__sceneReady=false;const canvas=$('#world'),viewport=$('#viewport');let renderer;try{renderer=new THREE.WebGLRenderer({canvas,antialias:true,alpha:kind==='study'});}catch(error){$('#loading').hidden=true;$('#error').hidden=false;throw error;}renderer.outputColorSpace=THREE.SRGBColorSpace;renderer.setPixelRatio(Math.min(devicePixelRatio,kind==='study'?1.5:2));renderer.shadowMap.enabled=true;renderer.shadowMap.type=THREE.PCFSoftShadowMap;renderer.localClippingEnabled=true;renderer.toneMapping=THREE.ACESFilmicToneMapping;diff --git a/examples/shared/style.css b/examples/shared/style.cssindex 32563b0..bd4c624 100644--- a/examples/shared/style.css+++ b/examples/shared/style.css@@ -12,3 +12,29 @@removed, so a capture can still click #pause; #loading and #error stay visible so a failedscene is still visible in a capture. */html[data-plate="1"] .heading,html[data-plate="1"] .toolbar,html[data-plate="1"] .panel,html[data-plate="1"] #readouts,html[data-plate="1"] .hint{display:none}++/* Loading copy is a single line: grid + letter-spacing was wrapping each glyph onto the next+ line inside a short iframe (the landing-page modal on a phone). Opaque fill so the title+ behind it cannot show through. */+#loading{display:flex;align-items:center;justify-content:center;padding:16px;background:#0c151a;letter-spacing:.04em;white-space:nowrap;text-align:center}#loading[hidden]{display:none}++/* Hosted in the landing modal (`?embed=1`): the dialog already shows the title, so the in-frame+ heading, readouts and hint would only cover the model. Toolbar and notes stay. */+html[data-embed="1"] .heading,html[data-embed="1"] #readouts,html[data-embed="1"] .hint{display:none}+@media(max-width:720px){+ html[data-embed="1"] .toolbar{top:12px;right:12px;left:auto;bottom:auto}+}++/* Full-page phone: keep a small title, park the view buttons above the notes bar, and drop the+ readout chips that sat on the model. Short viewports (landscape, leftover letterbox) hide the+ title entirely so the canvas stays readable. */+@media(max-width:720px){+ .heading{top:12px;left:12px;width:min(210px,calc(100vw - 24px))}+ .heading h1{font-size:22px;max-width:none;margin:4px 0 0;line-height:1.15}+ .toolbar{left:12px;right:12px;bottom:56px;justify-content:flex-end}+ #readouts{display:none}+}+@media(max-height:520px){+ .heading,#readouts,.hint{display:none}+ .toolbar{top:8px;right:8px;left:auto;bottom:auto}+}diff --git a/examples/stag/index.html b/examples/stag/index.htmlindex 9d76d78..3bf880f 100644--- a/examples/stag/index.html+++ b/examples/stag/index.html@@ -1,3 +1,3 @@<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="theme-color" content="#0c151a"><title>Interactive 3D study</title><link rel="stylesheet" href="../shared/style.css"></head>-<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Preparing the study…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>+<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Loading…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>diff --git a/examples/svd/index.html b/examples/svd/index.htmlindex 9d76d78..3bf880f 100644--- a/examples/svd/index.html+++ b/examples/svd/index.html@@ -1,3 +1,3 @@<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="theme-color" content="#0c151a"><title>Interactive 3D study</title><link rel="stylesheet" href="../shared/style.css"></head>-<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Preparing the study…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>+<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Loading…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>diff --git a/examples/topology/index.html b/examples/topology/index.htmlindex 9d76d78..3bf880f 100644--- a/examples/topology/index.html+++ b/examples/topology/index.html@@ -1,3 +1,3 @@<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="theme-color" content="#0c151a"><title>Interactive 3D study</title><link rel="stylesheet" href="../shared/style.css"></head>-<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Preparing the study…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>+<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Loading…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>diff --git a/examples/tower/index.html b/examples/tower/index.htmlindex 9d76d78..3bf880f 100644--- a/examples/tower/index.html+++ b/examples/tower/index.html@@ -1,3 +1,3 @@<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="theme-color" content="#0c151a"><title>Interactive 3D study</title><link rel="stylesheet" href="../shared/style.css"></head>-<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Preparing the study…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>+<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Loading…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>diff --git a/examples/tree/index.html b/examples/tree/index.htmlindex 9d76d78..3bf880f 100644--- a/examples/tree/index.html+++ b/examples/tree/index.html@@ -1,3 +1,3 @@<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="theme-color" content="#0c151a"><title>Interactive 3D study</title><link rel="stylesheet" href="../shared/style.css"></head>-<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Preparing the study…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>+<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Loading…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>diff --git a/examples/village/index.html b/examples/village/index.htmlindex 9d76d78..3bf880f 100644--- a/examples/village/index.html+++ b/examples/village/index.html@@ -1,3 +1,3 @@<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="theme-color" content="#0c151a"><title>Interactive 3D study</title><link rel="stylesheet" href="../shared/style.css"></head>-<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Preparing the study…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>+<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Loading…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>diff --git a/examples/well/index.html b/examples/well/index.htmlindex 9d76d78..3bf880f 100644--- a/examples/well/index.html+++ b/examples/well/index.html@@ -1,3 +1,3 @@<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="theme-color" content="#0c151a"><title>Interactive 3D study</title><link rel="stylesheet" href="../shared/style.css"></head>-<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Preparing the study…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>+<body><main class="shell"><section id="viewport" aria-label="Interactive 3D study" aria-busy="true"><canvas id="world" aria-label="Drag to orbit and scroll to zoom"></canvas></section><header class="heading"><p class="eyebrow" id="kicker"></p><h1 id="title">Interactive study</h1><p id="description"></p></header><nav class="toolbar" aria-label="View controls"><button id="overview" type="button">Overview</button><button id="detail" type="button">Close-up</button><button id="pause" type="button" aria-pressed="false">Pause motion</button></nav><details class="panel"><summary>Controls & notes</summary><div class="panel-content"><div id="subject-controls"></div><div class="panel-actions"><button id="reset" type="button">Reset study</button></div><details class="about" id="about"><summary>Model notes & sources</summary><p id="model-note"></p><div id="sources"></div><p id="craft-note"></p></details></div></details><div id="readouts" aria-label="Model readouts"></div><p class="hint">DRAG TO ORBIT · SCROLL TO ZOOM</p><div id="loading" role="status">Loading…</div><p id="error" role="alert" hidden>This scene needs WebGL. Enable hardware acceleration and reload.</p></main><script type="module" src="./scene.js"></script></body></html>diff --git a/site/src/components/study-modal.tsx b/site/src/components/study-modal.tsxindex 646d9d0..56d9ef4 100644--- a/site/src/components/study-modal.tsx+++ b/site/src/components/study-modal.tsx@@ -2,6 +2,8 @@// mounted only while the modal is open — an anatomy study pulls a 169 MB mesh set, so it must never// load behind the gallery — and a loading line stands in until the frame reports back. Escape, the// backdrop and the close button all close; the gallery returns focus to the pill that opened it.+// On a phone the dialog fills the viewport so the study is not trapped in a 16:9 letterbox, and+// the iframe asks for `?embed=1` so the study does not draw a second title over the model.import { useEffect, useRef, useState } from 'react';import type { Example } from '../types/generated-data';@@ -11,14 +13,21 @@ export interface StudyModalProps {onClose: () => void;}+/** Study pages are served under `/examples/<id>/`; keep that path and add the embed flag. */+export function embedSrc(href: string): string {+ const url = new URL(href, 'https://3dviz.dev');+ url.searchParams.set('embed', '1');+ return `${url.pathname}${url.search}`;+}+/** Keyed by study id, so a new study starts with its own loading state. */function StudyFrame({ study }: { study: Example }) {const [loaded, setLoaded] = useState(false);return (- <div className="relative aspect-video max-h-[calc(92vh-84px)] w-full overflow-hidden rounded-b-[26px] bg-ink">+ <div className="relative aspect-video max-h-[calc(92vh-84px)] w-full overflow-hidden rounded-b-[26px] bg-ink max-md:aspect-auto max-md:max-h-none max-md:min-h-0 max-md:flex-1 max-md:rounded-none"><iframe- src={study.href}+ src={embedSrc(study.href)}title={`${study.title} — runnable study`}onLoad={() => setLoaded(true)}className="h-full w-full border-0"@@ -26,9 +35,9 @@ function StudyFrame({ study }: { study: Example }) {{loaded ? null : (<prole="status"- className="pointer-events-none absolute inset-0 m-0 grid place-items-center font-mono text-[11px] tracking-[1.4px] text-dark-mute"+ className="pointer-events-none absolute inset-0 m-0 flex items-center justify-center font-mono text-[11px] tracking-wide whitespace-nowrap text-dark-mute">- LOADING {study.id.toUpperCase()} …+ Loading…</p>)}</div>@@ -60,11 +69,11 @@ export default function StudyModal({ study, onClose }: StudyModalProps) {onClick={(event) => {if (event.target === dialog.current) dialog.current?.close();}}- className="m-auto w-[min(96vw,1400px)] max-w-none border-0 bg-transparent p-0 backdrop:bg-ink/60"+ className="m-auto w-[min(96vw,1400px)] max-w-none border-0 bg-transparent p-0 backdrop:bg-ink/60 max-md:fixed max-md:inset-0 max-md:m-0 max-md:h-dvh max-md:max-h-dvh max-md:w-full">{study ? (- <div className="overflow-hidden rounded-[26px] bg-white shadow-[0_24px_60px_#1c2a2352]">- <div className="flex flex-wrap items-center justify-between gap-3 px-5 py-3.5">+ <div className="overflow-hidden rounded-[26px] bg-white shadow-[0_24px_60px_#1c2a2352] max-md:flex max-md:h-full max-md:flex-col max-md:rounded-none">+ <div className="flex flex-wrap items-center justify-between gap-3 px-5 py-3.5 max-md:flex-nowrap max-md:gap-2 max-md:px-3 max-md:py-2.5"><div className="flex min-w-0 items-baseline gap-2.5"><h2id="study-modal-title"@@ -74,12 +83,12 @@ export default function StudyModal({ study, onClose }: StudyModalProps) {</h2><span className="flex-none font-mono text-[10.5px] text-mono-dim">{study.id}</span></div>- <div className="flex items-center gap-2">+ <div className="flex shrink-0 items-center gap-2"><ahref={study.href}target="_blank"rel="noopener"- className="rounded-full border border-line-strong px-4 py-2 font-mono text-[11px] tracking-[0.6px] text-green hover:bg-wash"+ className="whitespace-nowrap rounded-full border border-line-strong px-4 py-2 font-mono text-[11px] tracking-[0.6px] text-green hover:bg-wash max-md:px-3">Open in new tab ↗</a>diff --git a/site/tests/study-modal.test.mjs b/site/tests/study-modal.test.mjsnew file mode 100644index 0000000..8ab827b--- /dev/null+++ b/site/tests/study-modal.test.mjs@@ -0,0 +1,19 @@+// The Show 3D dialog's phone contract is in the component source: a short loading line, the+// embed flag on the iframe, and a full-viewport dialog below the `md` breakpoint.+import assert from 'node:assert/strict';+import test from 'node:test';+import { readFile } from 'node:fs/promises';++const source = await readFile(new URL('../src/components/study-modal.tsx', import.meta.url), 'utf8');++test('the study modal iframe asks for embed chrome and a single-line Loading… status', () => {+ assert.match(source, /searchParams\.set\('embed', '1'\)/);+ assert.match(source, />\s*Loading…\s*</);+ assert.equal(source.includes('Preparing the study'), false);+});++test('the study modal fills the viewport on small screens instead of a 16:9 letterbox', () => {+ assert.match(source, /max-md:h-dvh/);+ assert.match(source, /max-md:aspect-auto/);+ assert.match(source, /max-md:flex-1/);+});