Sailing Simulator
A development shell for an extractable Canvas 2D protest-room and rules-education simulator. This slice adds wind-aware kinematics plus rudimentary collision physics — boats that touch fuse, drift, and spin before settling — and a rules engine that surfaces continuous give-way/right-of-way cues before contact as well as contact-time foul verdicts.
Base Chart
0:00 / 1:00
Canvas 2D renderer: 10 m gridlines, meter-based coordinates, wind arrow, mark, and labeled boat glyphs with color plus pattern identity.
Primary boat wind angle: 153°. The kinematic model keeps generated headings outside the no-go zone.
RRS 10 — On Opposite Tacks: Gold 7 is on port tack and must keep clear of Blue 12 on starboard tack.
Approach: both boats are sailing deep downwind on opposite gybes toward M1.
Scenario Fixture
Title: Two-Boat Mark Setup
Duration: 60s
Wind from: 188°
Wind speed: 5.1 m/s
Gridlines: every 10 m
Default boat: 10 m
Boats: 2
Marks: 1
A tiny fixture for proving the simulator module boundary with two boats approaching a downwind mark on opposite gybes.
Boats
- Blue 12 — 10 m, stripe marker
- Gold 7 — 10 m, dot marker
Boat identity uses labels and markers in addition to color for red/green color-vision safety.
Marks + Timeline
Marks
- M1: (0 m, 40 m), radius 1.5 m, leave to port
Keyframes
- 0s — 2 boat states
- 60s — 2 boat states