BARREL
Best 0
Waxing the board…
The break
Hollow and fast over a shallow reef. The biggest tubes and the hardest wipeouts.
A typical good day (no live reading yet): 3.2 m face, 14 s, 4.0 m/s offshore
Or set your own
How to surf it
- A / D paddle. Wait for the swell.
- When it lifts you, press S, then W.
- S pumps down the face, W carves back up, Space crouches under the lip.
- Climb over the back with W to kick out and bank the score.
Under the hood
The game loop, the physics and the drawing run in a C++20 module compiled to WebAssembly. The wave is a Gerstner profile whose lip folds forward on an exponential curve, rebuilt into a Box2D chain every 1/60 s from fixed pools, so it allocates nothing once warm. The board planes on quadratic lift, and its drag spikes when the rail bites into a carve. The conditions panel calls window.SetGlobalSurfConditions, a C++ function exposed through Emscripten bindings.