An enterprise-grade solar system simulator & mission design lab with real physics, real code, and real space missions.
Astra-X is a professional-grade space flight simulator and mission architecture suite.
It is designed as a simulation laboratory, not a game.
With Astra-X, you can:
- ๐ฐ Design rockets from physical parameters
- ๐ง Write real Python flight software
- ๐ Navigate a full-scale 3D solar system
- ๐ช Simulate true N-Body gravity
- ๐ก Analyze telemetry like a real mission control
Ideal for students, researchers, engineers, educators, and space enthusiasts.
- True N-Body gravitational simulation
- Sun, Earth, Moon, Mars, Jupiter
- No fake rails or scripted orbits
- Write real-time Python guidance code
- Control thrust, pitch, staging & autonomy
- Fully sandboxed runtime
- Dry mass & fuel modeling
- Engine thrust tuning
- Mass-dependent dynamics
- Velocity vectors
- Altitude & orbital parameters
- Trajectory prediction
- OpenGL-accelerated viewport
- Dynamic camera tracking
- Planet textures & orbital paths
- Collision detection
- Soft-landing logic
- Mission success evaluation
| Layer | Technology |
|---|---|
| Language | Python 3.10+ |
| GUI | PyQt6 |
| Rendering | OpenGL + PyQtGraph |
| Physics | NumPy (Vectorized N-Body math) |
| Assets | Pillow |
| Architecture | Modular & sandboxed runtime |
IMPORTANT:
Remove the following folder before launching:
Remove: Testing
git clone https://github.com/arshc0der/AstraX.git
cd AstraXpython -m venv venv
# Windows
venv\Scripts\activate
# macOS / Linux
source venv/bin/activatepip install -r requirements.txtpython main.pyโ Automatic High-DPI / 4K scaling support
- Configure Dry Mass
- Set Fuel Capacity
- Tune Engine Thrust
- Click INITIALIZE FLIGHT SYSTEMS
- Write your
mission_loop() - Press LAUNCH MISSION
- Observe real-time 3D trajectory
def mission_loop():
alt_km = rocket.get_altitude()
vel = rocket.get_velocity()
if alt_km < 50:
rocket.set_pitch(90)
rocket.set_thrust(1.0)
elif alt_km < 150:
rocket.set_pitch(60)
rocket.set_thrust(1.0)
elif vel < 7500:
rocket.set_pitch(0)
rocket.set_thrust(1.0)
else:
rocket.set_thrust(0.0)AstraX_Sim/
โโโ main.py
โโโ core/
โ โโโ physics.py
โ โโโ runtime.py
โ โโโ mission_result.py
โโโ ui/
โ โโโ window.py
โ โโโ viewport.py
โ โโโ designer.py
โโโ assets/
โโโ theme.py
Contributions are welcome ๐
- ๐ด Fork the repository
- ๐ฑ Create a feature branch
- ๐ Commit your changes
- ๐ Open a Pull Request
If you like Astra-X, please โญ star the repo โ it helps a lot!
python -m PyInstaller --noconsole --onefile \
--name="AstraX" \
--icon="assets/logo.png" \
--add-data "assets;assets" \
--version-file="version_info.txt" \
main.py| Platform | Link |
|---|---|
| GitHub | https://github.com/arshc0der |
| Issues | https://github.com/arshc0der/AstraX/issues |
Distributed under the MIT License. ยฉ 2026 Arsh
Astra-X โ Not a game. A real mission simulator.



