medieval-kit/index.html
CRT 4a75046cac Translate the whole repository to English
The kit is going public, so everything a reader sees is now English:
27 model sources, the core vocabulary, meta.ts (titles, descriptions and
every slider label), the viewer UI, all script output, REFERENCE.md and
the READMEs.

Rules applied: only comments, doc comments and human-facing strings were
touched. Identifiers, numbers, logic, registry item ids, part names and
material slot names are unchanged — those are a published contract and
were already English.

Verified rather than assumed: for all 53 changed .ts files the code
skeleton (source with comments stripped and string contents replaced by a
placeholder) is byte-identical before and after. Full gate is green —
typecheck, registry conformance, ~510 model checks, GLB round trip and a
production build.

Also fixed here:
- index.html and viewer.html were missed by the translation pass because
  the file list only covered .ts/.md/.css. Both had lang="tr" and Turkish
  titles.
- The viewer formatted triangle counts with toLocaleString('tr-TR'), which
  prints 15.425 rather than 15,425.
- REFERENCE.md's model table header did not match what
  scripts/catalog-table.ts emits, so the next regeneration would have
  silently changed it. Aligned to the generator.
- Removed scripts/probe.ts and scripts/zdiag.ts; they were throwaway
  diagnostics that got committed by accident.
2026-08-21 07:35:13 +00:00

47 lines
1.7 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>vibe3d · two registries, one project</title>
<style>
:root { color-scheme: dark; }
* { box-sizing: border-box; }
body {
margin: 0;
background: #07090c;
color: #d6dee6;
font: 14px/1.5 ui-sans-serif, system-ui, sans-serif;
overflow: hidden;
}
#viewport { display: block; width: 100vw; height: 100vh; }
#hud {
position: fixed; top: 16px; left: 16px;
display: flex; flex-direction: column; gap: 10px; align-items: flex-start;
}
#stages { display: flex; gap: 6px; }
button {
font: inherit; padding: 7px 13px; border-radius: 6px; cursor: pointer;
color: #b9c6d3; background: #161b22; border: 1px solid #262d36;
}
button:hover { background: #1d242d; }
button.active { color: #0a0d11; background: #f0b657; border-color: #f0b657; }
#action { color: #0a0d11; background: #6fb3d9; border-color: #6fb3d9; }
#action:hover { background: #86c4e6; }
#status { margin: 0; font-size: 12px; color: #6d8195; max-width: 54ch; }
#status.error { color: #ff8f6b; }
</style>
</head>
<body>
<canvas id="viewport"></canvas>
<div id="hud">
<div id="stages">
<button type="button" data-stage="gauge">@scifi-kit</button>
<button type="button" data-stage="barrel">@medieval-kit</button>
</div>
<button id="action" type="button">…</button>
<p id="status">starting…</p>
</div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>