← Back to the Miscellaneous page

Wing Foil Simulation

A wing foil simulator with realistic physics: kneeling start, take-off, pumping, tacks and swell — played right in the browser, with a keyboard or a controller. The game is in French.

Click inside the game to play with the keyboard, or press a button on the controller.

More about the game

Start on your knees, with the wing above your head. Sheet in to get moving, stand up, let the board speed up flat on the water, then press briefly on the back foot: it takes off. In flight, you hold the height with front-foot and back-foot pressure, the power with the back hand, and the course with the edge of the board and the position of the wing. You can pump the wing and the board to take off in light wind, tack by switching hands and then feet, and ride the swell downwind. After a fall, you have to climb back on the board.

The game has three assistance levels (assisted, realistic, expert) and three spots, each with its own wind, sea and landmarks: the lagoon, the bay and its lighthouse, and the open sea with its swell. The wind can be set from 8 to 30 knots. The gear can be set too, piece by piece: board, foil, mast, stabilizer, wing and rider weight; the game then works out the wind needed to take off. Tips appear while you sail.

The menu and the tips are in French: Naviguer starts a session, Pilotage is the assistance level (Assisté, Réaliste, Expert), Plan d’eau the spot, Vent the wind, Rafales the gusts, Mer the sea state, Matériel the gear and Départ the way a session starts.

The rider flying on the foil in the bay, in front of the lighthouse, the pier and moored sailboats
Flying in the bay, in front of the lighthouse and the pier.
The rider kneeling on the board in the lagoon, the wing overhead, near a sandy islet with coconut palms
A session starts on your knees, wing in the air.
The rider seen from the side, flying above the swell: the mast and the foil show under the board
In the swell of the open sea, seen from the side: the foil works under the surface.
After a fall: the rider is in the water, next to the board and the wing lying on the water; the game shows the cause of the fall
In the water! The game says why, and you have to climb back on the board.

The physics

The board does not follow a pre-programmed path: 480 times a second, the game computes the forces on the foil, the board and the wing. The foil is cut into strips that lift, stall and suck in air near the surface. The board floats, planes and drags on the water. The wing pulls according to the apparent wind, how much it is sheeted in and where it is held. The swell moves the water under the foil, which is what lets you ride it. The rider keeps balance with limited reflexes: when they are no longer enough, you fall. Take-off, pumping and touchdowns come out of the same equations.

Controls

On the boardControllerKeyboard
Climb back on, stand up, kneel againAEnter
Front-foot / back-foot pressureLeft stick ↑ / ↓W / S
Edge to the left / to the rightLeft stick ← / →A / D
Bend the legs (pump the board)LTShift
Switch feetYG
Start again on the boardBR
The wingControllerKeyboard
Sheet in / sheet outRT, pressed more or lessE / Q
Pump the wingRT, in short pullsSpace
Wing towards the nose / the tailRight stick ↑ / ↓↑ / ↓
Wing lower / higherRight stick towards the wing / away from it← / →
Switch handsXF
Let go of the back handRelease RTX
The gameControllerKeyboard
Pause and settingsMenu ≡P or Esc
Change the cameraRBC
Show or hide the helpLBH
Wind: one knot more / lessD-pad ↑ / ↓V (one knot more)
Mute or unmute—M

The menu of the game lists these controls, and the moves for the start, the take-off and the tack.

What you need

A recent browser on a computer with 3D graphics (WebGL), and a keyboard or an Xbox-style controller. Your settings (spot, wind, gear) are kept in your browser, on this computer.

A game in HTML, CSS and JavaScript, with no external library, made with the help of Claude (Anthropic).