[Media] built an n-body gravity simulator entirely in Rust, then added a colony simulator into it!

691 points DavesGames123 44 comments
[Media] built an n-body gravity simulator entirely in Rust, then added a colony simulator into it!

I'm Dave :) I've been here a couple times before, showcasing my passion project Stella Nova, built in pure Rust using wgpu for rendering. It's a colony management simulator set in a procedurally generated solar system where every object follows real N-body gravitational physics. The custom engine (WarpCore) handles thousands of entities stably at once and ships under 500MB on disk!

Current functional demo systems:

Real Hohmann transfer planning for interplanetary travel
Modular station construction
Citizen AI with state machine behavior (think RimWorld, Dwarf Fortress)
Time dilation control, play with the laws of relativity- Secret programming menu (please ask)

The playable demo just went live: www.davesgames.io

Happy to answer any architecture or other questions about the project!!