In pal's registry: the button shows it in pal, which asks before installing; the command does the same from a terminal. This page can't see what your pal has installed.





What it does
Weave through highway traffic on a road trip across five regions: short Sprints on fixed roads with three stars each, a rival to beat at the end of every region for their car, and seventeen cars that open as you earn stars, each sharper than the last. Near misses chain into combos that carry you past your top speed. Free Drive has four endless modes with leaderboards, and Zen, where nothing ends the run.
- A road trip across five regions, from a quiet countryside morning to a night run, each with its own sky, its own car class and busier roads
- A story told in texts: Lina's parents are away, the house is empty, and she is 412 km off; her sister, her ex, the neighbour and her cousin are on the same road, and her dad's flight lands early
- Sprints: about a minute to a finish line on a road that is the same every try, so it can be learned; three stars for the time, your best run beside you as a ghost, R tries again at once
- A duel at the end of every region against a rival driving the best line; win it for their car and the next region
- A Legend in every region, its hardest road, open once you have three stars on its duel: finish it for a Legend paint every car can wear
- Handling built for feel: the car goes where your thumb says and stops where you let go, leaning and diving on its springs; every class turns in sharper, settles sooner and brakes harder
- Traffic with drivers: they keep their distance, brake, signal and change lanes when it's safe, placed so a lane is always open
- Near misses graded by the gap you left; near misses within four seconds build a combo, and a combo carries you past your top speed
- A garage of seventeen cars in five classes with their own engine notes: each duel wins you the next class's first, a region's stops finished open its others, and each new car gets a showcase; paint them any colour
- Free Drive: Endless, Two-Way, Time Attack and Speed Trap with any car you own, each with its leaderboard
- Signed in, your stars, cars and best times follow you to your other machines and play.cagdas.io
Palettes 1
-
Highway
highwayviewA run on the highway. Escape or closing the panel pauses it, and it waits there for you.
- ↑Drive (arrows or WASD)
- CChange the view
- PPause or carry on
- RTry a Sprint again
- MSound on or off
Actions
- DriveUp is the gas, down the brake, left and right steer; WASD too. That's the whole control.↑or↓or←or→
- Change the viewLow behind the car, chase, the classic high angle, bumper, high, tower or long lens.C
- Pause or carry onP
- Sound on or offM
- Try a Sprint againFrom the run, the pause or the end of it.R
- On the mapLeft and right walk the road, up and down change region, Enter drives; G the garage, F Free Drive, Backspace back.↵
Settings
Extension, [extensions.highway]
volumeHow loud the game is: engine, traffic, music.
resolutionHow many pixels the road is drawn with. Sharp is the crispest and takes about twice the power of Balanced, which warms a laptop; Battery is a little softer and takes a third of Sharp's. One of 2, 1.5, 1.25, 1.
rushtextsghostDefaults shown. Change them in pal's settings window or in the config file.
The README
Everything Highway does, key by key, from the extension's own README.md
Highway
Weave through highway traffic at speed. Enter on the palette's row opens it
as a view level whose body is the extension's own page (surface/, a
surface view node, three.js on WebGL).
Playing
- The map is home: the road trip across five regions (Countryside, High Noon, Golden Hour, Grey Day, Night Run), eight Sprints and a duel each. Left and right walk the road, up and down change region, Enter drives the stop. G opens the garage, F Free Drive; Backspace comes back to the map.
- The story, told in texts: Lina's parents are away, the house is empty, and she is 412 km off. The first launch plays the opening (her texts, your reply), and Actions plays it again; each stop's first finish brings her next text, a duel's card has the rival's message, and the last duel ends it. "Texts while driving" (a setting, off) lands a stop's text mid-run.
- A Sprint is a run to a finish line on a road that is the same every try, in your car for the region's class; three stars for the time, a ghost of your best beside you, R tries again at once. A duel is the same against a rival; win it for their car and the next region.
- The garage: every car in its bay, the ones not yours yet under covers with what opens them (stops finished in a region, or its duel). Left and right walk the bays, up and down pick car or paint, Enter makes a car the one its region's Sprints are driven in. A car new to you gets a showcase.
- Free Drive: Endless, Two-Way, Time Attack and Speed Trap with any car you own, under any open region's sky; one leaderboard per mode. Zen is the fifth: no score, and nothing ends it (a knock is only a shove); pause to pull over.
- Driving: up is the gas, down the brake, left and right steer (WASD too). Pass a car close above 80 km/h for a near miss, graded by the gap you left (Close, Very close, Paint trader); near misses within four seconds build a combo, and a combo pushes you past your top speed.
- Crashes: a bump is a bump; hitting something 35 km/h slower than you, or anything coming the other way, ends the run. A car collides as its shape from above, a little inside what is drawn: a gap you see is a miss.
- C changes the view, P pauses, M mutes.
- Speed rush (a setting, on): past your top speed on a combo the view widens and drops closer, the road blurs and the wind roars; a near miss kicks the lens.
- Resolution (a setting, Balanced): how many pixels the road is drawn with. Every pass is paid per pixel, so Sharp (2×) takes about twice the GPU power of Balanced (1.5×) for a picture hard to tell apart; Battery is 1.25×.
- Signed in to a pal account, the save syncs: best times by
min, totals bysum; what is open and which cars you have are worked out from the best times, so machines never disagree. A kept run and the ghosts stay on their machine.
How it is built
game/: no DOM.vehicle.tsis the car (a dynamic bicycle model: tyre slip, load transfer, an engine with gears, a driver aid that holds the heading you ask for),traffic.tsthe drivers (IDM car following, MOBIL lane changes, signals),director.tswhere traffic appears (patterns per row, always a lane through; a Sprint's road fixed by its seed),score.ts,crash.ts(outlines and impulses),content.tsevery number and name,sprint.tsthe road trip's regions and Sprints,trip.tsits rules (what is open, what a finish pays),meta.tsthe save.surface/: the page.world.tsbuilds a place (sky, road, rails, land),terrain.tsstreams the land and plans it (forest, fields or a town each side, cuttings and embankments, an overpass every kilometre or two),foliage.tsmakes trees cheap (impostors baked at startup) and the grass,structures.tsthe overpasses, noise barriers, signs and lamp light,run.tsa run,camera.tsthe views,audio.tsthe sound,trip.tsthe map's signs and pins,mapworld.tsits world seen from above,garage.tsthe garage,main.tsthe screens.scripts/drive.tsmeasures every car (0 to 100, top speed, braking, a lane change);scripts/trace.tstraces a lane change step by step;scripts/sprint.tssearches each Sprint's best time (the stars' anchor) and the rivals' lines (surface/rivals/).bun host/src/surface.ts highway 8733serves the page in a browser.
Assets and their licences
- Cars (
surface/cars/): models by DanielZhabotinsky on Sketchfab, CC BY 4.0, every one credited insurface/cars/LICENSE.md.scripts/cars.ts <dir> <out> [ids]converts the downloaded GLBs (turned to face +z, unseen parts removed, textures to shared WebP, glTF JSON with the buffer inline, since the page cannot be served binary files). - Skies, ground and props (
surface/env/): Poly Haven and ambientCG, CC0; trees made with EZ-Tree (MIT).surface/env/LICENSES.md. - Sound (
surface/audio/): CC0 engine, road and crash recordings from Freesound, Kenney's UI sounds (CC0), music CC0 and CC BY.surface/audio/LICENSES.mdhas every credit. - Type: Overpass (SIL OFL 1.1),
surface/font/OFL.txt. - Portraits (
surface/story/): made for the game with FLUX.2 [klein] 4B (Apache 2.0) on our own machine. - three.js (MIT):
surface/vendor/three.js, rebuilt byscripts/vendor.sh.
Platforms
macOS and Linux.