URBAN RECON

Design system reference — the tokens, type scale, and components used to build the drone flight prototype, now flying 3 selectable custom tracks.

PLAY PROTOTYPE

COLOR

A muted, low-contrast tactical palette: desaturated sage, tan, and brick accents on a near-black panel background. Only two tones are needed for the play surface itself — flyable, and not.

CANVAS COLOR

Colors only the game canvas draws with. The game reads these from CSS at startup, so editing a token recolors the world as well as the HUD.

TYPOGRAPHY

A single monospace family carries the whole interface — telemetry, labels, and headings alike — to keep everything reading like instrument output. Base size is 16px; overlay headings step up, and a few dense labels (map descriptions, thumbnails, the in-flight map button) step down.

SPACING & SHAPE

Consistent small radii and a tight padding scale keep panels feeling like instrument bezels, not cards.

TokenValueUsed for

TOKEN PIPELINE

Every value on this page comes from tokens/tokens.json. Running npm run tokens compiles it into assets/css/tokens.css (the custom properties both pages style with) and assets/js/tokens.js (the list this page renders from). Never edit the generated files by hand.

MAP DATA

Each track is hand-drawn as an SVG: streets are stroked lines/paths, and each stroke's endpoints and width are baked into assets/js/maps.js as a flyable "corridor" — a capsule the drone must stay inside. There are no buildings; the corridors are the entire flyable surface, and anything outside them (the --color-offlimits fill) ends the flight instantly. The drone always spawns facing up. Landing pads spawn offset toward a corridor's edge rather than dead-center, on any corridor wide enough for the landing ring.

RuleValueUsed for
source3 hand-drawn SVGs (stroked lines / bezier paths)Corridor centerlines & widths
map scale3× the source SVG's unitsSVG px → game px, tuned to drone physics
spawn heading0° (always up)Consistent orientation on launch, any map
landing ring22px radiusOnly spawns on corridors ≥40px half-width

COMPONENTS

Live components using the same classes and stylesheet as the game, not illustrations. The map thumbnails are drawn from the game's actual track data.

DRONE TELEMETRY
SPEED142 km/h
HEADING000°
SCORE2,140
NEXT LANDING PAD
PAD #3
DISTANCE412 m
THROTTLE / VELOCITY
↑
←
↓
→
↑ thrust   ↓ brake
←→ turn   (or WASD)
FLIGHT TIME02:14
DISTANCE FLOWN3,410 m
PADS DELIVERED4

DRONE LOST

LEFT THE TRACK
delivered
crash