3D browser game · no install · pure WebGL

Driftlight

Pilot a skiff of light through a neon slalom — thread the gates, grab the orbs, outrun the clock.

Play now →

Works on desktop and phone. Keyboard, mouse and touch.

live scene — demo autopilot

Built from nothing but code

Driftlight is a single page of HTML, CSS and ES modules. Every hull, gate, spire, orb, aurora ribbon, glow and sound wave is generated at runtime by three.js primitives and canvas gradients — there is not one image file, font file or sound file in the build.

What makes it tick

How to play

Goal

Reach 120 light before the clock hits zero, with at least one hull left. Run out of time or hull and the run ends.

Keyboard

Arrows / WASD steer the skiff left, right, up, down.
Space boosts speed, Shift brakes for a careful line.
P or Esc pauses, Enter starts or restarts.

Mouse

Move the pointer away from the centre of the view to steer — no clicking or pointer lock needed.

Touch

An on-screen pad appears on phones: ◀ ▶ ▲ ▼ steer, plus Boost, Brake and Pause.