in progress

Diagram Space Program

An economics-driven space logistics sim where real orbital mechanics is the cost function. Mine ice on the Moon, haul it to orbital depots, earn money, expand across the solar system.

What’s built: A heliocentric n-body simulation with ~20 celestial bodies, patched conic orbit prediction, encounter detection, maneuver planning with ghost previews, a full economic loop, time warp, and save/load with migrations. 206 tests, TypeScript strict.

What’s next: Flight plan data structures, multi-craft architecture, NPC decision systems, and the navigation stack that ties it all together.

Built with Vite, TypeScript, React, and Canvas 2D. No backend — everything runs in the browser.