Game · In development · November 2026
AFTERGLOW
A retro high-speed driving game in the line of Rad Racer and OutRun, drawn the way the old vector arcades remembered the night: a dark plane ruled with neon, a banded sun on the horizon, scenery set in glowing type. Eight lands, three ways to drive, and a world that keeps time with the music. It plays in the browser, with keys, a pad or a phone held sideways.
Clips
Boulevard Cup
Leg 2's finale, a race on Ultraviolet: a boulevard of palms and lamps under violet towers. The countdown ends and you leave the line from the back of the grid, behind five rivals. The yellow one comes past on the left while you pick your way up from sixth to fourth, tucking in behind cars to fill the boost meter.
Palm Slalom
A drift event on Moonlit Shore: 110 seconds of bends, with the medal decided by drift points banked. Handbrake in, hold the wheel into the bend, and the car hangs at about twenty degrees. The points count up under the car while the slide lasts, and they're banked when it ends cleanly. A spin loses them.
Composition
The land the game is named for. Kandinsky's circle, triangle and square stand beside a road ruled in yellow and red, and the sun is concentric rings, after his Several Circles. Turn the sound on: on each kick of the music, a crest of light runs down the grid away from the car, and a ring leaves the sun's rim on the beat.
Northern Line
A sprint across Aurora Plain, its green band under a violet sky, with the clock running down to single figures in red. The next gate stands against a rising sun. Pass it with time on the clock and the clock jumps back up, and Pine Ridge's colours come in from the horizon.
Screenshots
About
AFTERGLOW is a high-speed drive at night in the line of Rad Racer and OutRun, built on Flint, the game engine I wrote myself. It looks the way the old vector arcades and the “outrun” posters remembered the night: a dark plane ruled with neon, a banded sun on the horizon, scenery drawn as glowing lines and type. The road is a treadmill, laid out tile by tile in front of the car the way a scanline racer lays its strips, and it bends and climbs away ahead of you.
Its guiding rule is speed you can read. The road’s edges, its lane dashes, the traffic and your car never flicker or pulse, because they’re what you steer by. Everything else is free to glow. When the road moves into a new land, the land doesn’t fade in: each tile takes its new colours as it comes round from the horizon, so you drive into it.
Its working name is Kandinski, which the repo and code still use. The fourth land, Composition, is where that comes from.
Everything above was filmed in the game, on the current build.
Three Ways to Drive
ARCADE. The original run: seventy seconds on the clock and five stages, each checkpoint buying more time, with the fifth as the goal. About five minutes, start to finish.
GRAND TOUR. Fifteen events in five legs, each with a bronze, a silver and a gold to win. Medals open the next event, the next leg, the endless mode and new paint (Cobalt at four medals, Viridian at eight, Chrome Yellow at twelve). There are five kinds of event, all on the same road:
- Sprint: a clock, gates that extend it, and a goal. The medal is the seconds left when you reach the goal.
- Race: a standing start behind five rivals, GELB, ROT, BLAU, GRUN and WEISS, named in German for the colours of their cars. The medal is your finishing place. Tuck in behind a rival to fill your boost, then pull out and use it.
- Drift: a fixed time on a road of bends, scored on drift points banked.
- Rush: heavy traffic, a clock and a distance, scored on close passes, with no medal past the crash limit.
- Endurance: all eight lands on one road, with gates that extend the clock. The medal is your score at the goal. The last event is called Point and Line to Horizon, after Kandinsky’s book.
HORIZON. A road that doesn’t end. It cycles through the eight lands, each section a little harder and busier than the last. There’s no clock; the run is over at the third crash.
The Eight Lands
Sunset Coast: palms, a magenta grid and the striped sun. Moonlit Shore: palms on the land side only, open water on the other and a full pale moon. Neon City: a skyline in blue under a cold moon. Ultraviolet: a boulevard of palms and lamps under violet towers. Pine Ridge: hills that hide the road, and teal wire mountains. Aurora Plain: a green band under a violet sky, a few far pines and the biggest crests. Composition: Kandinsky’s circle, triangle and square beside the road, under a sun made of concentric rings. Daybreak: the sky lightens and the sun climbs toward the goal.
The cover takes one strip from each land, in tour order, so it reads as a single night’s drive from dusk to dawn. For the Composition strip, the ring sun was lifted from the middle of its frame, so the picture has one car in it rather than two.
The Car
The car has weight. Underneath is a two-axle model with tyres that saturate, so grip runs out at the limit and the car begins to understeer. On top of that, a few assists make it feel like an arcade game:
- Steering: the amount of steering lock shrinks as the speed rises, so full lock always asks for about as much grip as the tyres have.
- Drifting: in a slide the front wheels turn past the direction of travel, so a drift holds at about twenty degrees while you steer into the bend. Let go and it straightens; opposite lock snaps it straight.
- Spins: a slide past 39 degrees is a spin-out.
Leave the road and you slow to a crawl. Hit a palm or rear-end traffic at speed and you spin. Drifts, close passes, slipstreams and air over a crest all fill the boost meter.
The World Keeps Time
A tool measures the game’s two music loops into a table of what each sixteenth note holds: kicks from the low end, and the bright onsets from the top. On every kick a crest of light runs down the road grid away from the car, at 170 metres a second, and the city’s windows and the trees’ trim take it as it passes. The sun swells and a ring leaves its rim on the beat, and the bright sixteenths wake the stars. A setting in the menus turns it down or off. The hero film and the Composition clip have the music under them, so you can watch it happen.
How It’s Built
- The road is data. One generator turns a seed and a list of sections into a road: for each section, its land, its length, how hard the bends are and how high the hills. The arcade run, all fifteen events and HORIZON’s unending road are rows of numbers in one script file.
- Each tile is sheared, not rotated. Bends shear a tile sideways and hills shear it upward. That way every edge, every joint and the ground grid stay continuous, however hard the road bends.
- The clocks and targets are measured, not guessed. A tool has the game’s autopilot drive every event at two skill levels, and writes each event’s clock and medal targets from what it did. Run without the calibrate flag, the same tool is the regression test: every event must reach its results screen.
- Nothing is lit. A flat ambient light means a material’s colour is its brightness, so the neon can be recoloured at runtime and bloom does the rest. The sky is a shader: one row of numbers for each land paints the gradient, the stars, the horizon band and the sun. Another shader adds the screen’s glass.
- Everything is generated. The models, the road tiles, the scene and every sound, music included, are made by Python tools. The sound comes from numpy synthesis, with no recordings.
Like my other recent projects, AFTERGLOW was built in close collaboration with Claude, Anthropic’s AI model: all eight of the game’s own commits are co-authored. I set the direction and the taste. Claude did much of the implementation and keeps detailed notes in the repository on how it works and the things that bite.
Playing It
Press Play in browser above to drive with nothing to install. Use WASD or the arrows, or a gamepad. Space is the handbrake, Shift is boost and Enter chooses. On a phone, hold it sideways: your left thumb steers, the gas is automatic, and the right thumb has BRAKE, DRIFT and BOOST. The menus are tapped.
It runs on WebGPU, in Chrome and Edge, Safari from version 26, and Firefox on Windows. In the browser the world doesn’t pulse with the music yet: the page can’t tell the game exactly when its music started.
Technical Details
- Engine: Flint, my own Rust engine, drawing with wgpu. It’s included in the game’s repo as a git subtree. The game lists the engine packages it uses, and its player is built with those and nothing else. The same build runs natively on Windows and in the browser through WebAssembly and WebGPU.
- Gameplay: Rhai scripts. One script owns the road, the car, the modes and the rivals. Another draws every screen, and a third moves the sound.
- Rivals: they drive a kinematic model at a pace taken from the autopilot’s own corner plan, scaled by each rival’s skill. Each one chooses a lane by cost and drafts like traffic does. A light rubber band of 3% over 300 metres keeps the race close.
- Look: a sky shader at the HDR stage, bloom, and Flint’s ASCII style with glyph edges on the scenery, so the palms, pines, towers and mountains read as vector type. The HUD uses Monoton, Audiowide and Share Tech Mono.
- Settings: music and effects volumes, how much the world pulses, screen glass, camera shake, three quality levels, and km/h or mph.
How the footage was made
All of it is from the game’s main branch, played in its release flint-player: films at 1280×720, stills at 1920×1080. The game moved forward exactly one frame for each frame of video, so the footage is smooth however long each frame took to save. The game’s own autopilot drove. It used its drifting style on Palm Slalom and its traffic-shaving style for the Rush Hour still, and its usual line everywhere else. The two films with sound have the drive music laid under them from the same moment of game time, so the pulse you see is in step with what you hear; no engine or tyre sounds are in them. The menu shots start from a save with every medal won. Nothing was edited except trimming the clips and assembling the cover.