PUBLIC.INTERNET

Vector Velocity Drift

You pilot a small ship down a curving 3D tunnel. Forward speed is not yours to control: it starts fast and climbs as you go. You can only push left, right, up and down, and every push turns into velocity that keeps carrying you until drag bleeds it off. Touch a wall or clip a gate ring and the run ends. Reach the escape distance for your difficulty and you win.

Can you control momentum long enough to escape the tunnel?

Ready

Desktop Controls

Use WASD or Arrow Keys for thrust steering. Hold smooth inputs because velocity drifts after every correction.

Mobile Controls

Drag inside the touch pad to set analog steering. Releasing your finger recenters input.

How to play

  1. Pick a Difficulty: Normal Drift (escape at 1900 m), Hard Drift (2100 m) or Extreme Drift (2300 m). Higher levels are faster, have smaller gate openings and less drag, so you drift further.
  2. Press Start Run or the space bar. Steer with WASD or the arrow keys, or drag inside the touch pad on mobile.
  3. Pass through the opening in each orange gate ring. Staying inside the tunnel walls matters too, and the tunnel bends, so you have to follow it.
  4. Watch Score, Distance and Speed in the side panel. The run ends in Escaped or Crashed, shown in the status badge.
  5. Press Restart to try the same tunnel again. The Best readout keeps your top tunnel score between visits.

How the momentum model works

Your input does not set position. It sets acceleration. Each physics step adds the pressed direction to your velocity, a drag term shrinks that velocity, and your position follows velocity. On Normal, holding a direction tops out at about 5.8 units per second sideways, and after you let go you coast roughly 1.6 more units, which is close to the radius of a gate opening (2.6 shrinking to 1.9). So you have to release early and let the drift carry you into the hole. Short taps work better than holding a key.

Forward speed is automatic and climbs as you progress, from just above the base speed to the maximum for your difficulty. The gate openings also shrink along the run, so the end of the tunnel is both faster and tighter than the start. The track is generated from a fixed seed per difficulty, which means every run on a level has the same layout and you can learn it.

Score is recomputed every frame as 3 points per meter of tunnel plus 22 per second survived, minus 7 points per unit of sideways speed at that instant (capped at 120 points), so in practice it tracks how far and how long you lasted. Finishing adds a 500 point bonus. A crash keeps the score you had at that moment, so a run that dies near the exit still beats a cautious early crash.