

Done. The page is complete and verified. Here's what was built:

## Files
- **`index.html`** — entry point, period-styled UI (helm order panel, readouts, controls, parts explanation, compass rose). Loads three.js **pinned at 0.160.0** from jsDelivr via import map; no build step.
- **`app.js`** — the simulation and scene (~700 lines, ES module).

## The mechanism (rigged the 19th-century way)
- **Wheel & barrel**: 8-spoke wheel lashed to a 30-cm barrel. Turning the wheel spins the barrel; the two wheel ropes are fixed to the top of the barrel and wound in **opposite directions** (drawn as live helices — one visibly winds on, the other pays out).
- **Lead**: each rope runs fore to a **steering block** on the deck, aft through a **scuttle** (a real hole with hanging sheave in the deck), down to a **take-up block** on an iron below the deck, and a short fall to the tiller end — the taut fall is what swings the tiller.
- **Tiller & rudder**: tiller bar on the rudder head, rudder hung on **pintles** (lugs on the blade) and **gudgeons** (fixed pins). Top of wheel → starboard ⇒ tiller end → **port**, rudder trailing edge → **starboard**, bow turns → starboard. Verified in ship frame: at +540°, trailing edge z = −1.03 (stbd), tiller end z = +1.32 (port).
- **Ratios**: wheel clamped ±540° (1.5 turns), hard over = 35° rudder/tiller; ropes measured barrel→tiller are symmetric (23.04 m mid; 21.77 / 24.10 m at the stops) and never pass through solids (per-side vertex checks pass).
- **Orders**: `Midships` / `Port the helm` / `Starboard the helm` / `Hard a-port` / `Hard a-starboard`, by tiller side, shown prominently.
- **Motion**: 8 knots (4.1 m/s) with a forked stern wake that curves as she turns; rate of turn `1.6°/s · tanh(δ/12°)`; **amidships holds course exactly** (verified: heading frozen over 5 s).

## `window.ship` (all verified headless in Chrome)
```
setWheel(540)  → { wheel: 540, tiller: -35, rudder: 35, helmOrder: "Hard a-port",
                   ropes: { port: 21.77, starboard: 24.10 } }   // reflected immediately
advance(10)    → heading 0 → 15.9° (turning stbd); rudder stbd
setWheel(0); advance(5) → heading unchanged (holds course)
setWheel(±999) → clamped to ±540
```

## Interaction
- **Drag** the wheel sideways (raycast hit volume, distance-scaled sensitivity — verified: 160 px → +205°), or `A`/`←`, `D`/`→`, `Space`/"midships".
- **Orbit** with the mouse, zoom with the wheel.
- **Fade deck / Fade hull / Cut away stern** buttons expose the gear below the deck; camera starts astern of the helm so wheel, rudder, and tiller all read at a glance.

Tested: syntax, the full `window.ship` contract, steering geometry signs at ±540°, rope side separation and winding, drag input, camera framing of key points, and a ~18 s soak with zero console errors.