ENDLESS DRIVE

Vite + TypeScript · Three.js driving sim · requestAnimationFrame game loop · seeded procedural road · dynamic weather · Web Audio engine mixer

A chill procedural road trip. No score. No game over. Just the road, the weather, and the horizon. A fully playable, relaxing 3D endless-driving game: choose one of eight rides, then steer a seeded, procedurally streamed road through shifting biomes and dynamic weather while a speed/distance HUD, three camera modes and a Photo Mode let you settle into the drive. Three.js drives the render with post-processing for weather and cinematic looks, a requestAnimationFrame game loop runs fixed-step arcade physics, and a Web Audio mixer blends an engine synth, music and ambience. No backend — a static Vite build served from Vercel's CDN, with settings saved in localStorage.

Generated 15 Jun 2026 · 17 files · 9 components · 3 flows

File Architecture

The full source tree as a layered graph — every file with its role, imports, exports and reverse dependencies.

System Design

Runtime topology across the five zones — client, edge, application, data and external services.

Flow Graph

The five most significant application flows, step by step — startup, auth, write, read and error recovery.

Technology

ComponentTechnologyVersionSource of Detection
Rendererthree (WebGLRenderer + EffectComposer post-processing)^0.166.1package.json
LanguageTypeScript (strict)^5.5.4package.json
Bundler / dev serverVite^5.4.11package.json
Procedural worldseeded RNG → road + terrain chunk streamersrc/road.ts
Physicscustom fixed-step arcade car handlingsrc/physics.ts
AudioWeb Audio API (engine synth + music + ambience mixer)src/audio.ts
UI motiongsap (menu / HUD tweens)^3.12.5package.json
HostingVercel static + SPA rewritesvercel.json