Prompt specification
Build or customize the Three.js 3D scene "Museum Exhibit Provenance Desk" inside the active workspace.
Engineering Constraints:
1. Runtime & Orbit: Use Three.js r160 with OrbitControls (damping enabled) and ACESFilmicToneMapping.
2. Frame Timing: Drive all motion strictly with clock.getDelta() so animation speed is FPS-independent.
3. Viewport Hygiene: Handle window resize cleanly, cap DPR at Math.min(window.devicePixelRatio, 2), and dispose geometries/materials/renderer on unmount.
Scene Metadata:
Scene: Museum Exhibit Provenance Desk
Category: Voxel Worlds · Style: Voxel 3D
License: MIT · Reference: https://three3d.app/scene/museum-exhibit-provenance-desk-x3275
Scene Description Prompt:
Create a single self-contained HTML file using Three.js from cdnjs that shows claims, evidence, and verification. Create an exhibit preparation table with an object, source records, and uncertain reconstruction pieces. Mark known, inferred, and unknown parts consistently without fabricating historical certainty. Voxel style.
Working Three.js Starter (museum-exhibit-provenance-desk-x3275):
```html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta
name="description"
content="A voxel-style, claim-aware exhibit preparation table using known, inferred, and unknown evidence labels."
/>
<title>Exhibit Evidence Lab — Voxel Preparation Table</title>
<style>
:root {
color-scheme: dark;
--bg: #071018;
--bg-soft: #0b1721;
--panel: #0d1b25;
--panel-raised: #112530;
--line: #203844;
--line-bright: #315260;
--text: #edf6f7;
--muted: #92a9b2;
--muted-strong: #b9cbd0;
--known: #55d6c5;
--known-soft: rgba(85, 214, 197, 0.12);
--inferred: #f4ba55;
--inferred-soft: rgba(244, 186, 85, 0.12);
--unknown: #bf8cff;
--unknown-soft: rgba(191, 140, 255, 0.12);
--radius: 16px;
--shadow: 0 18px 60px rgba(0, 0, 0, 0.26);
}
* {
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
margin: 0;
min-width: 320px;
background:
radial-gradient(circle at 12% 0%, rgba(48, 116, 125, 0.12), transparent 30rem),
var(--bg);
color: var(--text);
font-family:
Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
"Segoe UI", sans-serif;
line-height: 1.5;
}
button,
input {
font: inherit;
}
button {
color: inherit;
}
.topbar {
width: min(1600px, 100%);
min-height: 74px;
margin: 0 auto;
padding: 14px 18px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 20px;
border-bottom: 1px solid rgba(48, 79, 92, 0.45);
}
.brand {
display: flex;
align-items: center;
gap: 13px;
min-width: 0;
}
.voxel-logo {
position: relative;
width: 38px;
height: 38px;
flex: 0 0 auto;
filter: drop-shadow(0 5px 12px rgba(0, 0, 0, 0.35));
}
.voxel-logo i {
position: absolute;
width: 14px;
height: 14px;
background: var(--known);
border: 1px solid rgba(255, 255, 255, 0.25);
}
.voxel-logo i:nth-child(1) {
left: 2px;
top: 15px;
}
.voxel-logo i:nth-child(2) {
left: 17px;
top: 15px;
background: #327d83;
}
.voxel-logo i:nth-child(3) {
left: 10px;
top: 1px;
background: var(--inferred);
}
.brand-kicker,
.eyebrow {
margin: 0 0 3px;
color: var(--muted);
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
font-size: 10px;
font-weight: 750;
letter-spacing: 0.16em;
text-transform: uppercase;
}
.brand-name {
margin: 0;
font-size: 15px;
font-weight: 800;
letter-spacing: 0.04em;
text-transform: uppercase;
}
.dataset-tag {
display: inline-flex;
align-items: center;
gap: 9px;
padding: 8px 11px;
border: 1px solid #38515c;
border-radius: 999px;
color: var(--muted-strong);
background: rgba(10, 24, 33, 0.75);
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
font-size: 10px;
font-weight: 750;
letter-spacing: 0.08em;
text-transform: uppercase;
white-space: nowrap;
}
.dataset-tag::before {
width: 7px;
height: 7px;
border-radius: 2px;
background: var(--inferred);
content: "";
box-shadow: 0 0 12px rgba(244, 186, 85, 0.55);
}
.workspace {
width: min(1600px, 100%);
height: clamp(620px, 74vh, 790px);
margin: 0 auto;
padding: 16px 18px 0;
display: grid;
grid-template-columns: minmax(0, 1fr) 390px;
gap: 14px;
}
.viewer,
.ledger-panel {
min-width: 0;
height: 100%;
overflow: hidden;
border: 1px solid var(--line);
border-radius: var(--radius);
background: var(--panel);
box-shadow: var(--shadow);
}
.viewer {
position: relative;
isolation: isolate;
background: #08141e;
}
#stage {
position: absolute;
inset: 0;
overflow: hidden;
}
#stage canvas {
display: block;
width: 100%;
height: 100%;
touch-action: none;
cursor: grab;
}
#stage canvas:active {
cursor: grabbing;
}
.scene-copy {
position: absolute;
z-index: 3;
top: 22px;
left: 24px;
max-width: 490px;
pointer-events: none;
text-shadow: 0 2px 15px rgba(0, 0, 0, 0.75);
}
.scene-copy h1 {
max-width: 440px;
margin: 0;
font-size: clamp(26px, 3vw, 40px);
line-height: 1.04;
letter-spacing: -0.045em;
}
.scene-copy p:last-child {
max-width: 430px;
margin: 11px 0 0;
color: var(--muted-strong);
font-size: 13px;
}
.filter-bar {
position: absolute;
z-index: 4;
top: 20px;
right: 20px;
display: flex;
gap: 5px;
padding: 5px;
border: 1px solid rgba(66, 94, 106, 0.75);
border-radius: 11px;
background: rgba(6, 17, 24, 0.86);
backdrop-filter: blur(12px);
}
.filter-button {
min-height: 32px;
padding: 6px 10px;
border: 1px solid transparent;
border-radius: 7px;
background: transparent;
color: var(--muted);
cursor: pointer;
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
font-size: 10px;
font-weight: 800;
letter-spacing: 0.06em;
text-transform: uppercase;
transition:
color 150ms ease,
background 150ms ease,
border-color 150ms ease;
}
.filter-button:hover,
.filter-button:focus-visible {
color: var(--text);
background: rgba(255, 255, 255, 0.05);
outline: none;
}
.filter-button.active {
border-color: var(--line-bright);
background: #172d38;
color: var(--text);
}
.legend {
position: absolute;
z-index: 3;
bottom: 54px;
left: 22px;
display: flex;
flex-wrap: wrap;
gap: 7px;
max-width: calc(100% - 150px);
pointer-events: none;
}
.legend-item {
display: inline-flex;
align-items: center;
gap: 7px;
padding: 6px 9px;
border: 1px solid rgba(66, 94, 106, 0.6);
border-radius: 8px;
background: rgba(6, 17, 24, 0.8);
color: var(--muted-strong);
font-size: 10px;
font-weight: 700;
backdrop-filter: blur(8px);
}
.legend-swatch {
width: 10px;
height: 10px;
border-radius: 2px;
}
.legend-swatch.known {
background: var(--known);
box-shadow: 0 0 8px rgba(85, 214, 197, 0.35);
}
.legend-swatch.inferred {
border: 1px solid var(--inferred);
background: rgba(244, 186, 85, 0.24);
}
.legend-swatch.unknown {
border: 1px dashed var(--unknown);
background: rgba(191, 140, 255, 0.08);
}
.help-text {
position: absolute;
z-index: 3;
bottom: 20px;
left: 23px;
margin: 0;
color: #839ca6;
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
font-size: 10px;
pointer-events: none;
}
.reset-button {
position: absolute;
z-index: 4;
right: 20px;
bottom: 17px;
min-height: 32px;
padding: 6px 11px;
border: 1px solid #3b5661;
border-radius: 8px;
background: rgba(6, 17, 24, 0.86);
color: var(--muted-strong);
cursor: pointer;
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
font-size: 10px;
font-weight: 750;
letter-spacing: 0.05em;
text-transform: uppercase;
}
.reset-button:hover,
.reset-button:focus-visible {
border-color: var(--known);
color: var(--text);
outline: none;
}
.loading {
position: absolute;
z-index: 8;
inset: 0;
display: grid;
place-items: center;
background: #08141e;
color: var(--muted);
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
font-size: 12px;
letter-spacing: 0.08em;
text-transform: uppercase;
transition: opacity 250ms ease;
}
.loading.hidden {
opacity: 0;
pointer-events: none;
}
.ledger-panel {
display: flex;
flex-direction: column;
background: linear-gradient(180deg, #0e202a, #0a1821);
}
.ledger-header {
flex: 0 0 auto;
padding: 21px 21px 17px;
border-bottom: 1px solid var(--line);
}
.ledger-title-row {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 14px;
}
.object-code {
display: inline-block;
margin-bottom: 7px;
color: var(--known);
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
font-size: 11px;
font-weight: 850;
letter-spacing: 0.08em;
}
.ledger-header h2 {
margin: 0;
font-size: 24px;
line-height: 1.1;
letter-spacing: -0.035em;
}
.ledger-summary {
margin: 9px 0 0;
color: var(--muted);
font-size: 12px;
}
.mixed-badge {
flex: 0 0 auto;
padding: 5px 8px;
border: 1px solid var(--line-bright);
border-radius: 7px;
color: var(--muted-strong);
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
font-size: 9px;
font-weight: 800;
letter-spacing: 0.07em;
text-transform: uppercase;
}
.ledger-scroll {
flex: 1 1 auto;
min-height: 0;
overflow-y: auto;
padding: 15px;
scrollbar-color: #35515d transparent;
scrollbar-width: thin;
}
.ledger-card {
margin-bottom: 11px;
padding: 14px;
border: 1px solid var(--line);
border-left-width: 3px;
border-radius: 11px;
background: rgba(7, 18, 26, 0.72);
}
.ledger-card.known {
border-left-color: var(--known);
}
.ledger-card.inferred {
border-left-color: var(--inferred);
}
.ledger-card.unknown {
border-left-color: var(--unknown);
}
.ledger-card-top {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
margin-bottom: 10px;
}
.status-badge,
.table-status {
display: inline-flex;
align-items: center;
gap: 6px;
border-radius: 999px;
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
font-weight: 850;
letter-spacing: 0.06em;
text-transform: uppercase;
}
.status-badge {
padding: 4px 8px;
font-size: 9px;
}
.status-badge.known,
.table-status.known {
border: 1px solid rgba(85, 214, 197, 0.42);
background: var(--known-soft);
color: var(--known);
}
.status-badge.inferred,
.table-status.inferred {
border: 1px solid rgba(244, 186, 85, 0.42);
background: var(--inferred-soft);
color: var(--inferred);
}
.status-badge.unknown,
.table-status.unknown {
border: 1px solid rgba(191, 140, 255, 0.42);
background: var(--unknown-soft);
color: var(--unknown);
}
.status-symbol {
font-size: 10px;
}
.card-id {
color: #607b87;
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
font-size: 9px;
}
.ledger-card h3 {
margin: 0 0 11px;
font-size: 13px;
line-height: 1.4;
}
.ledger-detail {
display: grid;
grid-template-columns: 73px minmax(0, 1fr);
gap: 8px;
padding-top: 8px;
border-top: 1px solid rgba(49, 80, 94, 0.58);
}
.ledger-detail + .ledger-detail {
margin-top: 8px;
}
.ledger-detail dt {
color: #76909a;
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
font-size: 9px;
font-weight: 800;
letter-spacing: 0.07em;
text-transform: uppercase;
}
.ledger-detail dd {
margin: 0;
color: var(--muted-strong);
font-size: 11px;
line-height: 1.45;
}
.display-rule {
padding: 13px;
border: 1px solid rgba(85, 214, 197, 0.23);
border-radius: 10px;
background: rgba(85, 214, 197, 0.055);
}
.display-rule strong {
display: block;
margin-bottom: 5px;
color: var(--known);
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
font-size: 9px;
letter-spacing: 0.08em;
text-transform: uppercase;
}
.display-rule p {
margin: 0;
color: var(--muted-strong);
font-size: 11px;
}
.table-section {
width: min(1600px, 100%);
margin: 16px auto 0;
padding: 0 18px 28px;
}
.section-heading {
display: flex;
align-items: flex-end;
justify-content: space-between;
gap: 20px;
margin: 5px 0 12px;
}
.section-heading h2 {
margin: 0;
font-size: 24px;
letter-spacing: -0.035em;
}
.section-heading p {
max-width: 680px;
margin: 0;
color: var(--muted);
font-size: 12px;
text-align: right;
}
.table-wrap {
overflow-x: auto;
border: 1px solid var(--line);
border-radius: var(--radius);
background: var(--panel);
box-shadow: var(--shadow);
}
table {
width: 100%;
min-width: 980px;
border-collapse: collapse;
table-layout: fixed;
}
col.object-col {
width: 23%;
}
col.records-col {
width: 33%;
}
col.pieces-col {
width: 44%;
}
th {
padding: 13px 16px;
border-bottom: 1px solid var(--line-bright);
background: #10242e;
color: #a8bdc4;
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
font-size: 10px;
font-weight: 850;
letter-spacing: 0.08em;
text-align: left;
text-transform: uppercase;
}
td {
padding: 16px;
border-bottom: 1px solid rgba(32, 56, 68, 0.82);
vertical-align: top;
}
tbody tr:last-child td {
border-bottom: 0;
}
tbody tr {
transition: background 150ms ease;
}
tbody tr:hover,
tbody tr.selected {
background: rgba(38, 91, 101, 0.09);
}
tbody tr.selected {
box-shadow: inset 3px 0 0 var(--known);
}
.object-id {
color: var(--known);
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
font-size: 10px;
font-weight: 850;
letter-spacing: 0.08em;
}
.object-name {
display: block;
margin: 4px 0 6px;
font-size: 14px;
}
.object-note {
margin: 0 0 11px;
color: var(--muted);
font-size: 11px;
}
.inspect-button {
min-height: 31px;
padding: 6px 10px;
border: 1px solid #39535e;
border-radius: 7px;
background: #122731;
color: var(--muted-strong);
cursor: pointer;
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
font-size: 9px;
font-weight: 800;
letter-spacing: 0.06em;
text-transform: uppercase;
}
.inspect-button:hover,
.inspect-button:focus-visible {
border-color: var(--known);
color: var(--known);
outline: none;
}
.record-list,
.piece-list {
display: grid;
gap: 9px;
margin: 0;
padding: 0;
list-style: none;
}
.record-item {
display: grid;
grid-template-columns: 62px minmax(0, 1fr);
gap: 8px;
font-size: 11px;
}
.record-code {
color: #87a2ac;
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
font-size: 10px;
font-weight: 800;
}
.record-name {
color: var(--muted-strong);
}
.piece-item {
display: grid;
grid-template-columns: 92px minmax(0, 1fr);
gap: 9px;
align-items: start;
}
.table-status {
justify-content: center;
min-height: 24px;
padding: 4px 7px;
font-size: 8px;
text-align: center;
}
.piece-text {
padding-top: 3px;
color: var(--muted-strong);
font-size: 11px;
}
.method-note {
display: grid;
grid-template-columns: 170px minmax(0, 1fr);
gap: 20px;
margin-top: 14px;
padding: 17px 18px;
border: 1px solid var(--line);
border-radius: 12px;
background: rgba(10, 25, 34, 0.68);
}
.method-note strong {
color: var(--muted-strong);
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
font-size: 10px;
letter-spacing: 0.07em;
text-transform: uppercase;
}
.method-note p {
margin: 0;
color: var(--muted);
font-size: 11px;
}
@media (max-width: 1120px) {
.workspace {
grid-template-columns: minmax(0, 1fr) 340px;
}
.scene-copy {
max-width: 390px;
}
.scene-copy p:last-child {
display: none;
}
.filter-bar {
top: auto;
right: 16px;
bottom: 52px;
}
.legend {
max-width: calc(100% - 40px);
}
}
@media (max-width: 880px) {
.topbar {
padding-inline: 14px;
}
.workspace {
height: auto;
grid-template-columns: 1fr;
padding-inline: 12px;
}
.viewer {
height: 620px;
}
.ledger-panel {
max-height: none;
}
.ledger-scroll {
overflow: visible;
}
.table-section {
padding-inline: 12px;
}
.section-heading {
align-items: flex-start;
flex-direction: column;
}
.section-heading p {
text-align: left;
}
}
@media (max-width: 560px) {
.dataset-tag {
max-width: 42%;
white-space: normal;
}
.viewer {
height: 650px;
}
.scene-copy {
top: 18px;
left: 18px;
right: 18px;
}
.scene-copy h1 {
font-size: 29px;
}
.filter-bar {
left: 16px;
right: 16px;
bottom: 50px;
overflow-x: auto;
}
.filter-button {
flex: 1 0 auto;
}
.legend {
bottom: 100px;
left: 16px;
right: 16px;
max-width: none;
}
.help-text {
left: 16px;
right: 16px;
font-size: 9px;
}
.reset-button {
right: 16px;
bottom: 54px;
display: none;
}
.method-note {
grid-template-columns: 1fr;
gap: 7px;
}
}
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
scroll-behavior: auto !important;
transition-duration: 0.01ms !important;
}
}
</style>
</head>
<body>
<header class="topbar">
<div class="brand">
<div class="voxel-logo" aria-hidden="true">
<i></i><i></i><i></i>
</div>
<div>
<p class="brand-kicker">Collection interpretation / Voxel lab</p>
<p class="brand-name">Exhibit Evidence Lab</p>
</div>
</div>
<div class="dataset-tag">Illustrative training dataset</div>
</header>
<main>
<section class="workspace" aria-label="Interactive exhibit preparation workspace">
<div class="viewer">
<div id="stage" aria-label="Interactive voxel-style exhibit preparation table"></div>
<div class="loading" id="loading">Building voxel table…</div>
<div class="scene-copy">
<p class="eyebrow">Exhibit preparation / Evidence packets 01–04</p>
<h1>From fragment to exhibit—without inventing certainty.</h1>
<p>
Select an object packet to inspect its claims, source records,
and the checks still required before reconstruction is shown.
</p>
</div>
<div class="filter-bar" aria-label="Filter reconstructed parts">
<button class="filter-button active" data-filter="all" type="button">
All
</button>
<button class="filter-button" data-filter="known" type="button">
Known
</button>
<button class="filter-button" data-filter="inferred" type="button">
Inferred
</button>
<button class="filter-button" data-filter="unknown" type="button">
Unknown
</button>
</div>
<div class="legend" aria-label="Evidence status legend">
<span class="legend-item">
<span class="legend-swatch known"></span>
Known / recorded
</span>
<span class="legend-item">
<span class="legend-swatch inferred"></span>
Inferred / proposed
</span>
<span class="legend-item">
<span class="legend-swatch unknown"></span>
Unknown / unresolved
</span>
</div>
<p class="help-text">
Drag: orbit · Shift + drag: pan · Wheel: zoom · Click a fragment: inspect
</p>
<button class="reset-button" id="reset-camera" type="button">
Reset view
</button>
</div>
<aside class="ledger-panel" aria-label="Claims, evidence, and verification ledger">
<div class="ledger-header">
<div class="ledger-title-row">
<div>
<span class="object-code" id="ledger-code">V-01</span>
<h2 id="ledger-title">Body sherd</h2>
</div>
<span class="mixed-badge">Mixed status</span>
</div>
<p class="ledger-summary" id="ledger-summary"></p>
</div>
<div class="ledger-scroll" id="ledger-cards" aria-live="polite"></div>
</aside>
</section>
<section class="table-section" aria-labelledby="table-heading">
<div class="section-heading">
<div>
<p class="eyebrow">Working document</p>
<h2 id="table-heading">Exhibit preparation table</h2>
</div>
<p>
The record identifiers are fictional teaching labels. Known statements
describe only the supplied record set; interpretations remain visibly provisional.
</p>
</div>
<div class="table-wrap">
<table>
<colgroup>
<col class="object-col" />
<col class="records-col" />
<col class="pieces-col" />
</colgroup>
<thead>
<tr>
<th scope="col">Object</th>
<th scope="col">Source records</th>
<th scope="col">Uncertain reconstruction pieces</th>
</tr>
</thead>
<tbody id="table-body"></tbody>
</table>
</div>
<div class="method-note">
<strong>Display rule</strong>
<p>
<b>Known</b> means directly documented by the supplied record set.
<b>Inferred</b> means a testable interpretation and must be labeled as a proposal.
<b>Unknown</b> means the evidence is absent; the exhibit should say “not established.”
No record in this demonstration refers to a real archaeological find.
</p>
</div>
</section>
</main>
<script type="module">
import * as THREE from
"https://cdnjs.cloudflare.com/ajax/libs/three.js/0.160.0/three.module.min.js";
const entries = [
{
id: "V-01",
title: "Body sherd",
shortTitle: "BODY",
summary:
"Current fragment form is documented; a complete vessel remains a proposal.",
records: [
{ code: "OR-17", name: "Object record" },
{ code: "PH-17", name: "General and edge photographs" },
{ code: "CR-17", name: "Condition report" },
{ code: "CP-11", name: "Comparative profile sheet" }
],
pieces: [
{
status: "known",
text: "The surviving sherd, break edges, current dimensions, and fabric are recorded."
},
{
status: "inferred",
text: "The sherd may belong to an open-bodied vessel, based on its profile."
},
{
status: "unknown",
text: "Original use, maker, date, findspot, and surface decoration are not established."
}
],
ledger: {
known: {
claim:
"The supplied object and condition records document the sherd’s present form, break edges, dimensions, and fabric.",
evidence: "OR-17 · PH-17 · CR-17",
verification:
"Directly checkable against the supplied records and original inspection; no historical claim is added."
},
inferred: {
claim:
"The sherd may form part of an open-bodied vessel, based on the recorded profile.",
evidence: "CP-11 · PH-17",
verification:
"Keep the full form labeled “proposed.” Require specialist review and a physical join test before display reconstruction."
},
unknown: {
claim:
"Original use, maker, date, findspot, and surface decoration are not established by this record set.",
evidence: "No supporting source in the illustrative packet",
verification:
"Search provenance and archive files. If no evidence is found, the object label should state each field is not established."
}
}
},
{
id: "V-02",
title: "Rim fragment",
shortTitle: "RIM",
summary:
"The rim section is recorded; mouth diameter and vessel association remain provisional.",
records: [
{ code: "OR-18", name: "Object record" },
{ code: "PH-24", name: "Profile photographs" },
{ code: "CR-24", name: "Condition report" },
{ code: "CP-12", name: "Profile comparison sheet" }
],
pieces: [
{
status: "known",
text: "The surviving rim cross-section and measured curvature are recorded."
},
{
status: "inferred",
text: "A mouth diameter of roughly 18–24 cm is proposed from the curvature."
},
{
status: "unknown",
text: "Whether this rim belonged to the same vessel as V-01 is unresolved."
}
],
ledger: {
known: {
claim:
"The surviving rim cross-section, its current dimensions, and measured curvature are documented.",
evidence: "OR-18 · PH-24 · CR-24",
verification:
"Confirm the measurements against the object record and scale photographs. The record supports only the surviving rim."
},
inferred: {
claim:
"The recorded curvature supports a provisional mouth-diameter range of approximately 18–24 cm.",
evidence: "CP-12 · PH-24",
verification:
"Retain the range rather than a single number until the profile is remeasured and the comparison is specialist-approved."
},
unknown: {
claim:
"The supplied records do not establish that this rim and the V-01 body sherd came from one vessel.",
evidence: "No documented physical join in this packet",
verification:
"Perform a non-destructive join test. Until then, display the objects separately and do not imply association."
}
}
},
{
id: "V-03",
title: "Base fragment",
shortTitle: "BASE",
summary:
"The surviving foot ring is recorded; the lower profile and vessel use are unresolved.",
records: [
{ code: "OR-19", name: "Object record" },
{ code: "PH-31", name: "Underside photographs" },
{ code: "CR-31", name: "Condition report" },
{ code: "CP-08", name: "Lower-profile comparison sheet" }
],
pieces: [
{
status: "known",
text: "The surviving foot-ring section and visible underside are recorded."
},
{
status: "inferred",
text: "A lower vessel profile may continue above the foot ring."
},
{
status: "unknown",
text: "The vessel’s original contents, use, and date are not established."
}
],
ledger: {
known: {
claim:
"The surviving foot-ring section, visible underside, and present dimensions are documented.",
evidence: "OR-19 · PH-31 · CR-31",
verification:
"Compare the object record, underside photographs, and condition report. Avoid extending the documented foot-ring geometry."
},
inferred: {
claim:
"A lower vessel body may continue above the surviving foot ring, but its angle and height are not fixed by the record.",
evidence: "CP-08 · PH-31",
verification:
"Present this body as a translucent proposal only. Test the profile against multiple comparanda before producing a solid model."
},
unknown: {
claim:
"The original contents, function, date, maker, and use context are not established.",
evidence: "No supporting contextual source in this packet",
verification:
"Keep the exhibit text at “use unknown.” Search contextual archives before any interpretive graphic is commissioned."
}
}
},
{
id: "V-04",
title: "Decorated strip",
shortTitle: "STRIP",
summary:
"The extant incised marks are documented; their full pattern and meaning are unresolved.",
records: [
{ code: "OR-20", name: "Object record" },
{ code: "RL-06", name: "Raking-light image set" },
{ code: "MN-08", name: "Surface and material note" },
{ code: "CP-14", name: "Motif comparison sheet" }
],
pieces: [
{
status: "known",
text: "The incised marks visible on the surviving strip are recorded."
},
{
status: "inferred",
text: "The motif may continue as a band around a vessel."
},
{
status: "unknown",
text: "The motif’s meaning, original position, and relation to other fragments are unknown."
}
],
ledger: {
known: {
claim:
"The raking-light set documents incised marks on the surviving strip as they are currently visible.",
evidence: "OR-20 · RL-06 · MN-08",
verification:
"The image set can be checked against the current surface. Do not extend or redraw the marks without an explicit comparison."
},
inferred: {
claim:
"The motif may continue around a vessel as a band, based on the recorded marks and vessel orientation.",
evidence: "CP-14 · RL-06",
verification:
"Label the continuation as a hypothesis. Seek a second specialist reading and retain the original fragment edge in the graphic."
},
unknown: {
claim:
"The motif’s meaning, original position, and relationship to the other fragments are not established.",
evidence: "No supporting association or contextual source",
verification:
"Do not assign symbolic meaning or a join. Use “motif meaning unresolved” until independent evidence is documented."
}
}
}
];
const stage = document.getElementById("stage");
const loading = document.getElementById("loading");
const tableBody = document.getElementById("table-body");
const ledgerCode = document.getElementById("ledger-code");
const ledgerTitle = document.getElementById("ledger-title");
const ledgerSummary = document.getElementById("ledger-summary");
const ledgerCards = document.getElementById("ledger-cards");
const COLORS = {
known: 0x55d6c5,
inferred: 0xf4ba55,
unknown: 0xbf8cff
};
const statusMeta = {
known: { label: "Known", symbol: "■" },
inferred: { label: "Inferred", symbol: "▧" },
unknown: { label: "Unknown", symbol: "□" }
};
let selectedId = "V-01";
let activeFilter = "all";
const scene = new THREE.Scene();
scene.background = new THREE.Color(0x08141e);
scene.fog = new THREE.Fog(0x08141e, 15, 31);
const camera = new THREE.PerspectiveCamera(39, 1, 0.1, 100);
const renderer = new THREE.WebGLRenderer({
antialias: true,
powerPreference: "high-performance"
});
renderer.setPixelRatio(Math.min(window.devicePixelRatio, 2));
renderer.shadowMap.enabled = true;
renderer.shadowMap.type = THREE.PCFSoftShadowMap;
renderer.outputColorSpace = THREE.SRGBColorSpace;
renderer.domElement.setAttribute(
"aria-label",
"Three-dimensional voxel exhibit table with four selectable object packets"
);
stage.appendChild(renderer.domElement);
const hemisphere = new THREE.HemisphereLight(0xbcecff, 0x172028, 1.8);
scene.add(hemisphere);
const keyLight = new THREE.DirectionalLight(0xe8fbff, 3.2);
keyLight.position.set(6, 11, 7);
keyLight.castShadow = true;
keyLight.shadow.mapSize.set(1024, 1024);
keyLight.shadow.camera.left = -9;
keyLight.shadow.camera.right = 9;
keyLight.shadow.camera.top = 9;
keyLight.shadow.camera.bottom = -9;
keyLight.shadow.bias = -0.0008;
scene.add(keyLight);
const warmLight = new THREE.PointLight(0xf4ba55, 15, 15, 2);
warmLight.position.set(-5, 4, 2);
scene.add(warmLight);
const cyanLight = new THREE.PointLight(0x55d6c5, 13, 14, 2);
cyanLight.position.set(5, 3, -3);
scene.add(cyanLight);
const boxGeometry = new THREE.BoxGeometry(1, 1, 1);
const boxEdges = new THREE.EdgesGeometry(boxGeometry);
function makeBox(width, height, depth, color, x, y, z, options = {}) {
const material = new THREE.MeshStandardMaterial({
color,
roughness: options.roughness ?? 0.72,
metalness: options.metalness ?? 0.04,
flatShading: true
});
const mesh = new THREE.Mesh(boxGeometry, material);
mesh.scale.set(width, height, depth);
mesh.position.set(x, y, z);
mesh.castShadow = options.castShadow ?? true;
mesh.receiveShadow = options.receiveShadow ?? true;
if (options.parent) {
options.parent.add(mesh);
} else {
scene.add(mesh);
}
return mesh;
}
function addEdges(mesh, color, opacity = 1) {
const material = new THREE.LineBasicMaterial({
color,
transparent: true,
opacity
});
const edges = new THREE.LineSegments(new THREE.EdgesGeometry(mesh.geometry), material);
edges.scale.copy(mesh.scale);
edges.position.copy(mesh.position);
edges.rotation.copy(mesh.rotation);
mesh.parent.add(edges);
return edges;
}
function createLabel(text) {
const canvas = document.createElement("canvas");
canvas.width = 512;
canvas.height = 128;
const context = canvas.getContext("2d");
context.clearRect(0, 0, canvas.width, canvas.height);
context.fillStyle = "rgba(5, 17, 24, 0.90)";
context.fillRect(8, 12, 496, 104);
context.strokeStyle = "rgba(85, 214, 197, 0.72)";
context.lineWidth = 3;
context.strokeRect(8, 12, 496, 104);
context.fillStyle = "#55d6c5";
context.font = "800 36px ui-monospace, Menlo, Consolas, monospace";
context.textAlign = "center";
context.fillText(text, 256, 78);
const texture = new THREE.CanvasTexture(canvas);
texture.colorSpace = THREE.SRGBColorSpace;
texture.minFilter = THREE.LinearFilter;
const material = new THREE.SpriteMaterial({
map: texture,
transparent: true,
depthTest: false,
depthWrite: false
});
const sprite = new THREE.Sprite(material);
sprite.scale.set(1.45, 0.36, 1);
sprite.renderOrder = 20;
return sprite;
}
const tableGroup = new THREE.Group();
scene.add(tableGroup);
const tableTop = makeBox(
10.2,
0.30,
5.7,
0x12303a,
0,
-0.12,
0,
{ parent: tableGroup, roughness: 0.62 }
);
addEdges(tableTop, 0x315763, 0.85);
const tableUnderlay = makeBox(
10.45,
0.16,
5.95,
0x091820,
0,
-0.35,
0,
{ parent: tableGroup }
);
addEdges(tableUnderlay, 0x264652, 0.72);
for (const x of [-4.45, 4.45]) {
for (const z of [-2.25, 2.25]) {
makeBox(
0.42,
2.9,
0.42,
0x0b2029,
x,
-1.9,
z,
{ parent: tableGroup }
);
makeBox(
0.68,
0.16,
0.68,
0x1c424d,
x,
-0.38,
z,
{ parent: tableGroup }
);
}
}
const gridMaterial = new THREE.MeshBasicMaterial({
color: 0x244550,
transparent: true,
opacity: 0.52
});
for (let x = -4.4; x <= 4.4; x += 0.8) {
const gridLine = new THREE.Mesh(boxGeometry, gridMaterial);
gridLine.scale.set(0.012, 0.012, 5.25);
gridLine.position.set(x, 0.045, 0);
tableGroup.add(gridLine);
}
for (let z = -2.4; z <= 2.4; z += 0.8) {
const gridLine = new THREE.Mesh(boxGeometry, gridMaterial);
gridLine.scale.set(9.7, 0.012, 0.012);
gridLine.position.set(0, 0.046, z);
tableGroup.add(gridLine);
}
const modelParts = new Map();
const pickables = [];
function createModel(entry, x, z) {
const group = new THREE.Group();
group.position.set(x, 0.20, z);
group.userData.entryId = entry.id;
scene.add(group);
const statusGroups = {
known: new THREE.Group(),
inferred: new THREE.Group(),
unknown: new THREE.Group()
};
group.add(statusGroups.known, statusGroups.inferred, statusGroups.unknown);
const knownMaterial = new THREE.MeshStandardMaterial({
color: COLORS.known,
emissive: COLORS.known,
emissiveIntensity: 0.08,
roughness: 0.58,
metalness: 0.06,
flatShading: true
});
const inferredMaterial = new THREE.MeshStandardMaterial({
color: COLORS.inferred,
emissive: COLORS.inferred,
emissiveIntensity: 0.04,
transparent: true,
opacity: 0.30,
depthWrite: false,
roughness: 0.65,
flatShading: true
});
const unknownMaterial = new THREE.LineBasicMaterial({
color: COLORS.unknown,
transparent: true,
opacity: 0.86
});
function voxel(vx, vy, vz, sx, sy, sz, status) {
if (status === "unknown") {
const line = new THREE.LineSegments(boxEdges, unknownMaterial);
line.scale.set(sx, sy, sz);
line.position.set(vx, vy, vz);
line.userData.entryId = entry.id;
statusGroups.unknown.add(line);
pickables.push(line);
return;
}
const material =
status === "known" ? knownMaterial : inferredMaterial;
const mesh = new THREE.Mesh(boxGeometry, material);
mesh.scale.set(sx, sy, sz);
mesh.position.set(vx, vy, vz);
mesh.castShadow = status === "known";
mesh.receiveShadow = true;
mesh.userData.entryId = entry.id;
statusGroups[status].add(mesh);
pickables.push(mesh);
}
if (entry.id === "V-01") {
for (let row = 0; row < 6; row++) {
for (let col = -4; col <= 4; col++) {
const edgeCut =
(row === 0 && col < -3) ||
(row === 1 && col > 3) ||
(row === 4 && col === 4);
if (edgeCut) continue;
const angle = col * 0.095;
voxel(
Math.sin(angle) * 0.92,
0.16 + row * 0.145,
(Math.cos(angle) - 0.55) * 0.90,
0.135,
0.135,
0.135,
"known"
);
}
}
for (let row = 0; row < 3; row++) {
for (let col = -3; col <= 3; col++) {
if (row === 1 && col === 3) continue;
const angle = col * 0.095;
voxel(
Math.sin(angle) * 0.92,
0.015 + row * 0.145,
(Math.cos(angle) - 0.55) * 0.90,
0.135,
0.135,
0.135,
"inferred"
);
}
}
for (let row = 0; row < 3; row++) {
for (let col = -3; col <= 3; col++) {
if ((row + col) % 3 === 0) continue;
voxel(
col * 0.19,
0.40 + row * 0.15,
0.48,
0.15,
0.15,
0.15,
"unknown"
);
}
}
}
if (entry.id === "V-02") {
for (let index = 0; index <= 12; index++) {
const angle = -1.2 + (index / 12) * 2.4;
voxel(
Math.sin(angle) * 0.61,
0.62,
Math.cos(angle) * 0.61 - 0.18,
0.14,
0.15,
0.14,
"known"
);
}
for (let index = 0; index <= 12; index++) {
const angle = 1.30 + (index / 12) * 1.50;
voxel(
Math.sin(angle) * 0.61,
0.62,
Math.cos(angle) * 0.61 - 0.18,
0.14,
0.15,
0.14,
"inferred"
);
const oppositeAngle = -1.30 - (index / 12) * 1.50;
voxel(
Math.sin(oppositeAngle) * 0.61,
0.62,
Math.cos(oppositeAngle) * 0.61 - 0.18,
0.14,
0.15,
0.14,
"inferred"
);
}
for (let row = 0; row < 3; row++) {
for (let col = 0; col < 3; col++) {
voxel(
-0.70 + col * 0.16,
0.20 + row * 0.16,
-0.26,
0.15,
0.15,
0.15,
"unknown"
);
}
}
}
if (entry.id === "V-03") {
for (let index = 0; index <= 11; index++) {
const angle = -1.55 + (index / 11) * 3.10;
voxel(
Math.sin(angle) * 0.48,
0.16,
Math.cos(angle) * 0.48 - 0.15,
0.145,
0.14,
0.145,
"known"
);
}
for (let index = 0; index < 9; index++) {
const angle = -1.2 + (index / 8) * 2.4;
voxel(
Math.sin(angle) * 0.18,
0.16,
Math.cos(angle) * 0.18 - 0.15,
0.14,
0.13,
0.14,
"known"
);
}
for (let row = 0; row < 4; row++) {
for (let col = -3; col <= 3; col++) {
const angle = col * 0.10;
voxel(
Math.sin(angle) * 0.72,
0.34 + row * 0.145,
(Math.cos(angle) - 0.48) * 0.72,
0.14,
0.14,
0.14,
"inferred"
);
}
}
for (let row = 0; row < 2; row++) {
for (let col = -1; col <= 1; col++) {
voxel(
col * 0.16,
0.42 + row * 0.16,
-0.12,
0.13,
0.13,
0.13,
"unknown"
);
}
}
}
if (entry.id === "V-04") {
for (let index = 0; index < 17; index++) {
const xPos = -0.80 + index * 0.10;
const yPos = 0.28 + Math.sin(index * 0.72) * 0.035;
voxel(xPos, yPos, 0.05, 0.092, 0.11, 0.14, "known");
}
for (let index = 0; index < 10; index++) {
const xPos = -0.38 + index * 0.085;
const yPos = 0.42 + (index % 2) * 0.06;
voxel(xPos, yPos, 0.07, 0.075, 0.075, 0.075, "known");
}
for (let index = 0; index < 7; index++) {
voxel(
-1.02 - index * 0.07,
0.27 + index * 0.018,
0.05,
0.10,
0.10,
0.13,
"inferred"
);
voxel(
1.02 + index * 0.07,
0.27 + index * 0.018,
0.05,
0.10,
0.10,
0.13,
"inferred"
);
}
for (let row = 0; row < 3; row++) {
for (let col = 0; col < 4; col++) {
voxel(
-0.24 + col * 0.16,
0.64 + row * 0.16,
0.03,
0.14,
0.14,
0.14,
"unknown"
);
}
}
}
const pedestal = makeBox(
2.28,
0.12,
1.56,
0x102a34,
x,
0.10,
z,
{ parent: scene, roughness: 0.78 }
);
addEdges(pedestal, 0x2b4b56, 0.72);
const borderMaterial = new THREE.MeshBasicMaterial({
color: COLORS.known,
transparent: true,
opacity: 0.28
});
const borderThickness = 0.025;
const borderHeight = 0.035;
const borderWidth = 2.18;
const borderDepth = 1.46;
makeBox(
borderWidth,
borderHeight,
borderThickness,
COLORS.known,
x,
0.18,
z - borderDepth / 2,
{ parent: scene, castShadow: false }
).material = borderMaterial;
makeBox(
borderWidth,
borderHeight,
borderThickness,
COLORS.known,
x,
0.18,
z + borderDepth / 2,
{ parent: scene, castShadow: false }
).material = borderMaterial;
makeBox(
borderThickness,
borderHeight,
borderDepth,
COLORS.known,
x - borderWidth / 2,
0.18,
z,
{ parent: scene, castShadow: false }
).material = borderMaterial;
makeBox(
borderThickness,
borderHeight,
borderDepth,
COLORS.known,
x + borderWidth / 2,
0.18,
z,
{ parent: scene, castShadow: false }
).material = borderMaterial;
const label = createLabel(`${entry.id} / ${entry.shortTitle}`);
label.position.set(x, 1.28, z);
scene.add(label);
modelParts.set(entry.id, {
group,
statusGroups,
knownMaterial,
inferredMaterial,
unknownMaterial,
borderMaterial,
label
});
}
createModel(entries[0], -2.55, -1.38);
createModel(entries[1], 2.55, -1.38);
createModel(entries[2], -2.55, 1.38);
createModel(entries[3], 2.55, 1.38);
const controls = {
yaw: -0.58,
pitch: 0.58,
radius: 13.6,
target: new THREE.Vector3(0, 0.35, 0)
};
function updateCamera() {
const horizontalRadius = controls.radius * Math.cos(controls.pitch);
camera.position.set(
controls.target.x + Math.sin(controls.yaw) * horizontalRadius,
controls.target.y + Math.sin(controls.pitch) * controls.radius,
controls.target.z + Math.cos(controls.yaw) * horizontalRadius
);
camera.lookAt(controls.target);
camera.updateMatrixWorld();
}
function resetCamera() {
controls.yaw = -0.58;
controls.pitch = 0.58;
controls.radius = 13.6;
controls.target.set(0, 0.35, 0);
updateCamera();
}
updateCamera();
let pointerDown = false;
let pointerMoved = false;
let pointerStartX = 0;
let pointerStartY = 0;
let previousX = 0;
let previousY = 0;
const raycaster = new THREE.Raycaster();
const pointer = new THREE.Vector2();
renderer.domElement.addEventListener("pointerdown", (event) => {
pointerDown = true;
pointerMoved = false;
pointerStartX = event.clientX;
pointerStartY = event.clientY;
previousX = event.clientX;
previousY = event.clientY;
renderer.domElement.setPointerCapture(event.pointerId);
});
renderer.domElement.addEventListener("pointermove", (event) => {
if (!pointerDown) return;
const dx = event.clientX - previousX;
const dy = event.clientY - previousY;
previousX = event.clientX;
previousY = event.clientY;
if (
Math.hypot(
event.clientX - pointerStartX,
event.clientY - pointerStartY
) > 5
) {
pointerMoved = true;
}
if (event.shiftKey) {
const right = new THREE.Vector3(
Math.cos(controls.yaw),
0,
-Math.sin(controls.yaw)
);
const forward = new THREE.Vector3(
-Math.sin(controls.yaw),
0,
-Math.cos(controls.yaw)
);
const panScale = controls.radius * 0.0016;
controls.target.addScaledVector(right, -dx * panScale);
controls.target.addScaledVector(forward, -dy * panScale);
controls.target.x = THREE.MathUtils.clamp(
controls.target.x,
-4.4,
4.4
);
controls.target.z = THREE.MathUtils.clamp(
controls.target.z,
-3.1,
3.1
);
} else {
controls.yaw -= dx * 0.006;
controls.pitch = THREE.MathUtils.clamp(
controls.pitch + dy * 0.005,
0.22,
1.12
);
}
updateCamera();
});
renderer.domElement.addEventListener("pointerup", (event) => {
pointerDown = false;
if (renderer.domElement.hasPointerCapture(event.pointerId)) {
renderer.domElement.releasePointerCapture(event.pointerId);
}
if (pointerMoved) return;
const rect = renderer.domElement.getBoundingClientRect();
pointer.x = ((event.clientX - rect.left) / rect.width) * 2 - 1;
pointer.y = -((event.clientY - rect.top) / rect.height) * 2 + 1;
raycaster.setFromCamera(pointer, camera);
const hits = raycaster.intersectObjects(pickables, false);
if (hits.length > 0) {
const entryId = hits[0].object.userData.entryId;
if (entryId) selectEntry(entryId);
}
});
renderer.domElement.addEventListener("pointercancel", () => {
pointerDown = false;
});
renderer.domElement.addEventListener(
"wheel",
(event) => {
event.preventDefault();
controls.radius = THREE.MathUtils.clamp(
controls.radius + event.deltaY * 0.009,
7.5,
19
);
updateCamera();
},
{ passive: false }
);
renderer.domElement.addEventListener("dblclick", resetCamera);
document
.getElementById("reset-camera")
.addEventListener("click", resetCamera);
function updateFilterVisibility() {
for (const entry of entries) {
const parts = modelParts.get(entry.id);
parts.statusGroups.known.visible =
activeFilter === "all" || activeFilter === "known";
parts.statusGroups.inferred.visible =
activeFilter === "all" || activeFilter === "inferred";
parts.statusGroups.unknown.visible =
activeFilter === "all" || activeFilter === "unknown";
}
}
function updateModelAppearance(time = 0) {
for (const entry of entries) {
const parts = modelParts.get(entry.id);
const active = entry.id === selectedId;
parts.knownMaterial.color.setHex(
active ? COLORS.known : 0x31575d
);
parts.knownMaterial.emissive.setHex(
active ? COLORS.known : 0x0d262b
);
parts.knownMaterial.emissiveIntensity = active ? 0.10 : 0.025;
parts.inferredMaterial.opacity = active ? 0.34 : 0.10;
parts.unknownMaterial.opacity = active ? 0.88 : 0.26;
parts.borderMaterial.opacity = active
? 0.64 + Math.sin(time * 0.003) * 0.15
: 0.18;
parts.label.material.opacity = active ? 1 : 0.56;
}
}
function statusBadge(status) {
const meta = statusMeta[status];
return `
<span class="table-status ${status}">
<span class="status-symbol" aria-hidden="true">${meta.symbol}</span>
${meta.label}
</span>
`;
}
function renderTable() {
tableBody.innerHTML = entries
.map(
(entry) => `
<tr data-entry-id="${entry.id}" class="${
entry.id === selectedId ? "selected" : ""
}">
<td>
<span class="object-id">${entry.id}</span>
<strong class="object-name">${entry.title}</strong>
<p class="object-note">${entry.summary}</p>
<button class="inspect-button" type="button" data-select="${entry.id}">
Inspect packet
</button>
</td>
<td>
<ul class="record-list">
${entry.records
.map(
(record) => `
<li class="record-item">
<span class="record-code">${record.code}</span>
<span class="record-name">${record.name}</span>
</li>
`
)
.join("")}
</ul>
</td>
<td>
<ul class="piece-list">
${entry.pieces
.map(
(piece) => `
<li class="piece-item">
${statusBadge(piece.status)}
<span class="piece-text">${piece.text}</span>
</li>
`
)
.join("")}
</ul>
</td>
</tr>
`
)
.join("");
tableBody.querySelectorAll("[data-select]").forEach((button) => {
button.addEventListener("click", () => {
selectEntry(button.dataset.select);
document
.querySelector(".workspace")
.scrollIntoView({ behavior: "smooth", block: "start" });
});
});
}
function renderLedger() {
const entry = entries.find((item) => item.id === selectedId);
ledgerCode.textContent = entry.id;
ledgerTitle.textContent = entry.title;
ledgerSummary.textContent = entry.summary;
const order = ["known", "inferred", "unknown"];
ledgerCards.innerHTML =
order
.map((status, index) => {
const data = entry.ledger[status];
const meta = statusMeta[status];
return `
<article class="ledger-card ${status}">
<div class="ledger-card-top">
<span class="status-badge ${status}">
<span class="status-symbol" aria-hidden="true">${meta.symbol}</span>
${meta.label}
</span>
<span class="card-id">${status === "known" ? "K1" : status === "inferred" ? "I1" : "U1"} / ${entry.id}</span>
</div>
<h3>${data.claim}</h3>
<dl class="ledger-detail">
<dt>Evidence</dt>
<dd>${data.evidence}</dd>
</dl>
<dl class="ledger-detail">
<dt>Verification</dt>
<dd>${data.verification}</dd>
</dl>
</article>
`;
})
.join("") +
`
<div class="display-rule">
<strong>Exhibit copy rule</strong>
<p>
Only Known statements may appear as unqualified label copy.
Inferred material must say “proposed,” and Unknown fields must say
“not established.”
</p>
</div>
`;
}
function selectEntry(id) {
if (!entries.some((entry) => entry.id === id)) return;
selectedId = id;
renderLedger();
renderTable();
updateModelAppearance(performance.now());
}
document.querySelectorAll(".filter-button").forEach((button) => {
button.addEventListener("click", () => {
activeFilter = button.dataset.filter;
document.querySelectorAll(".filter-button").forEach((candidate) => {
candidate.classList.toggle("active", candidate === button);
candidate.setAttribute(
"aria-pressed",
candidate === button ? "true" : "false"
);
});
updateFilterVisibility();
});
});
renderTable();
renderLedger();
updateFilterVisibility();
function resizeRenderer() {
const width = Math.max(stage.clientWidth, 1);
const height = Math.max(stage.clientHeight, 1);
renderer.setSize(width, height, false);
camera.aspect = width / height;
camera.updateProjectionMatrix();
}
const resizeObserver = new ResizeObserver(resizeRenderer);
resizeObserver.observe(stage);
resizeRenderer();
function animate(time) {
updateModelAppearance(time);
renderer.render(scene, camera);
requestAnimationFrame(animate);
}
requestAnimationFrame(animate);
loading.classList.add("hidden");
</script>
</body>
</html>
```