Symplectica is a high-fidelity, multiplayer, N-body space simulator focused on scientific accuracy. Built with Rust + WebAssembly, TypeScript, Three.js, and Node.js. Currently in early development phases.
- N-body gravity with
Pairwise,Barnes–HutandFMMsolvers. - Hybrid integrator switching in close encounters:
- Default integrator:
Symplectic Velocity Verlet - Close-encounter:
Adaptive RK45or5th-Order Gauss-Radau
- Default integrator:
- True distances and sizes with optional visualization-only size scaling.
- Multiplayer universe builder with real-time system editing.
- Deterministic seed-based procedural starfields and terrain.
- Physics-based atmospheres and relativistic visual phenomena.
See FEATURES.md for a comprehensive list of implemented, in progress, and planned features.
- Node.js 18+
- Rust 1.70+
- wasm-pack
-
Clone and install:
git clone https://github.com/ali-albdaer/Symplectica.git cd Symplectica npm install # Also builds wasm
-
Start development:
npm run dev
-
Build for production:
npm run build
All sources I used while researching physics, numerical methods, and simulation design will be listed in SOURCES.md.
Symplectica is licensed under the MIT LICENSE.