MONA Kart
A browser kart game that grew into a full track creator, with spline editing, generated terrain, bridges, tunnels and playable custom circuits.
Notes
This started as a simple "what if we made a kart game in the browser" project and quickly became a small 3D toybox.


The game itself is already a lot of moving parts: React Three Fiber, Rapier physics, 12 karts with different stats, items, bots, tournaments, WebRTC peer-to-peer multiplayer, and tracks that can also be generated from OpenStreetMap data.
The recent interesting part is the circuit creator.
Rather than a tile editor, the track is drawn as a loop of control points. Those points become a spline, and that spline becomes the source of truth for the playable road: width, height, checkpoints, start positions, item boxes, pads, branches, bridges and terrain all derive from it.
The editor has slowly moved toward the principle that the editing view and the race view should be the same thing. If a segment becomes a bridge, a tunnel, or a terrain cut, the editor should show the actual generated structure, not a simplified lie that only turns into the real track once the race starts.
That made the project surprisingly rich technically. A hand-drawn curve has to become something drivable, readable, and game-like:
- -control points interpolate into a smooth closed path with local width and elevation,
- -track self-intersections can automatically become bridges,
- -the terrain is generated around the road with road-aware Voronoi cells,
- -segments can carry paint-like intent for structure, biome, surface, borders and density,
- -custom tracks serialize back into the same
TrackDataformat as built-in tracks.
The fun thing is that this is less about building Mario Kart than about building the level design instrument behind a kart game. The toy is the editor as much as the race.