How hhaider3/project-magellan works
Endless Drive is a browser-based, procedurally generated driving, boating, and flight game. The player controls the ATLAS through keyboard or touch input; the simulation uses a seeded world and vehicle state, while a worker builds terrain and scenery data for streamed regions. The README also documents weather, day/night, audio, settings, and environmental features. Edges below reflect explicit imports or README-described behavior; worker-to-renderer dispatch and several UI integrations are not shown in the excerpts.
Main entry points: world.mjs Seeded World · game.mjs Game Runtime · world-worker.mjs World Worker · flight-motion.mjs Flight Motion
Components 24
Game and Controls
- Game Runtime
game.mjs - Vehicle Model
vehicle-model.mjs - Nature Library
nature-models.mjs - Tree Breakage
tree-breakage.mjs - Control Axes
controls.mjs
World Simulation
- Seeded World
world.mjs - Road Network
roads.mjs - Lakes
lakes.mjs - Rivers
rivers.mjs - Boat Motion
amphibious-motion.mjs - Flight Motion
flight-motion.mjs
World Generation
- World Worker
world-worker.mjs - Terrain
terrain.mjs - Grass Data
grass-data.mjs - Water Data
water-data.mjs - Bridge Data
bridge-data.mjs - Roadside Data
roadside-data.mjs
Visuals and Audio
- Weather
weather.mjs - Weather Effects
weather-effects.mjs - Daylight
daylight.mjs - Sky
sky.mjs - Water Rendering
water.mjs - Vehicle Audio
vehicle-audio.mjs
Other components
- Player
Connections 24
- Player → Game Runtime: controls
- Game Runtime → Seeded World: creates world
game.mjs - Game Runtime → Vehicle Model: loads model
game.mjs - Game Runtime → Nature Library: loads library
game.mjs - Game Runtime → Tree Breakage: creates breakage
game.mjs - Seeded World → Road Network: uses roads
world.mjs - Seeded World → Lakes: uses lakes
world.mjs - Seeded World → Rivers: uses rivers
world.mjs - Seeded World → Boat Motion: steps motion
world.mjs - Seeded World → Control Axes: uses axes
world.mjs - Seeded World → Flight Motion: steps flight
world.mjs - Flight Motion → Lakes: samples waves
flight-motion.mjs - Flight Motion → Control Axes: uses axes
flight-motion.mjs - World Worker → Seeded World: creates world
world-worker.mjs - World Worker → Terrain: builds terrain
world-worker.mjs - World Worker → Grass Data: builds grass
world-worker.mjs - World Worker → Water Data: builds water
world-worker.mjs - World Worker → Bridge Data: builds bridges
world-worker.mjs - World Worker → Roadside Data: builds roadside
world-worker.mjs - Water Rendering → Lakes: samples waves
water.mjs - Weather → Weather Effects
- Daylight → Sky
- Game Runtime → Weather
- Game Runtime → Vehicle Audio