Upwind Tactics Simulator

start → windward mark · side selection under current + wind oscillation
© 2026 Stacey Szigeti · Fastrrr · MIT GitHub
Buy Me A Coffee
Course

Mark bearing is the compass bearing from the middle of the (square) start line. The chart is drawn course-up: the mark is always straight up, with the start line at the bottom. The line is square to the start→mark axis at 0° skew; a non-zero skew swings the pin end around the committee boat — viewed from the boat end, positive skew lifts the pin up-course, negative lets the line hang down-course. Wind direction never moves the line.

Wind (TWD)
Phase input
Tidal wind

Left/right phase given as an offset from the mean (e.g. −12 = 12° left of mean). Switch to Absolute TWD to type the two extreme wind directions directly.

With Tidal wind on, the boat sails to the wind over the water: at every step the local current is subtracted from the true wind vector, and the tacking angle / boat speed are re-read from the polar at that effective wind. A current running up-wind adds wind, a down-wind current takes it away, and a cross current rotates it.

Boat

Boats and their upwind polar tables are stored locally in your browser (localStorage). Use Export / Import to back up the library or move it between machines as a JSON file. The tacking angle and boat speed used by the simulation are interpolated from the polar at the current wind speed.

Current — 4 measurement points
Direction convention
Dir (°, from)Rate (m/min) Start Mark Left layline Right layline

Direction is either where the water flows towards (set) or where it comes from — pick the convention above. Rate is in metres per minute. Leave a point's rate blank if you didn't measure there — it is then excluded from the interpolation (not treated as zero). The field is built from the measured points only, by inverse-distance weighting (IDW). With no measured points the simulation runs with no current. The left/right points sit halfway between the start and the mark, on the laylines, fixed to the course axis — changing the wind never moves your measurement locations.

Left phase wind
Mean wind
Right phase wind
Current
00:00

Figure 1. Course-up view of the beat. Solid curves: simulated ground tracks for three wind scenarios × two side strategies; thin blue lines: current-corrected laylines (mean wind); dashed grey lines: no-current reference laylines; green arrows: interpolated current field with the four measurement points; colour shading: current speed (blue = weak, green/yellow = moderate, red = strong; white = still water).

Table 1. Elapsed time to the mark

Wind scenarioLeft sideRight sideDeltaFavoured