<- back to portfolio
[ ONGOING ]

Starmap Foundry

// 3d galaxy editor · keplerian

Local 3D galaxy map editor. Tauri + Babylon.js + Rust orbital math, real Keplerian mechanics, binary/trinary system view, Holman-Wiegert stability checks.

> overview

A local-first 3D galaxy map editor built around hyper-realistic stellar physics. Place star systems, edit exact X/Y/Z coordinates and full Keplerian orbital elements, view binaries and trinaries with their actual barycentric motion, validate hierarchical stability against the Holman-Wiegert criterion, and persist the result as additive JSON. The renderer is Babylon.js 9; the orbital math is a Rust crate exposed via Tauri IPC, with a 1:1 JavaScript mirror that runs unchanged in the browser preview. Bundled atlas of 133 nearby stars, including Sirius (Bond 2017 orbit) and Alpha Centauri (Söderhjelm 1999 inner + Kervella 2017 outer).

> features

  • 3D galaxy view with Babylon.js scene + LOD-aware procedural star rendering
  • Keplerian orbital math in Rust (Newton-Raphson Kepler solve, position/velocity/state at time t) with a 1:1 JS mirror for the web fallback
  • Binary + hierarchical-trinary system schema, additive over the legacy single-star format
  • Holman-Wiegert P-type stability validation rejects unstable trinaries at construction
  • System View with Inner / Wide scale modes, Focus Body / Focus System, generic orbit-path rendering
  • Stellar physics enforcement: Stefan-Boltzmann, mass-luminosity, mass-radius, white-dwarf Nauenberg EOS, spectral class ↔ T validation
  • Bundled atlas of 133 stars within 50 light-years (Sirius binary, Alpha Centauri trinary)
  • Export Updated Map JSON with sanitized payload + dirty-state tracking + beforeunload guard