Skip to content

AstraX: Pro Solar System Architect & An enterprise-grade solar system simulator with real physics, real code, and real missions.

License

Notifications You must be signed in to change notification settings

arshc0der/AstraX

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

11 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿš€ AstraX โ€” Pro Solar System Architect

An enterprise-grade solar system simulator & mission design lab with real physics, real code, and real space missions.


๐ŸŒŒ Overview

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.


โœจ Core Features

๐Ÿช Real Solar System Physics

  • True N-Body gravitational simulation
  • Sun, Earth, Moon, Mars, Jupiter
  • No fake rails or scripted orbits

๐Ÿ’ป Live Flight Computer

  • Write real-time Python guidance code
  • Control thrust, pitch, staging & autonomy
  • Fully sandboxed runtime

๐Ÿ“ Rocket Design Lab

  • Dry mass & fuel modeling
  • Engine thrust tuning
  • Mass-dependent dynamics

๐Ÿ“Š Mission Telemetry HUD

  • Velocity vectors
  • Altitude & orbital parameters
  • Trajectory prediction

๐ŸŽฅ High-Fidelity 3D Rendering

  • OpenGL-accelerated viewport
  • Dynamic camera tracking
  • Planet textures & orbital paths

๐Ÿ›ฌ Landing & Crash Physics

  • Collision detection
  • Soft-landing logic
  • Mission success evaluation

๐Ÿ–ผ Preview Gallery


๐Ÿง  Technology Stack

Layer Technology
Language Python 3.10+
GUI PyQt6
Rendering OpenGL + PyQtGraph
Physics NumPy (Vectorized N-Body math)
Assets Pillow
Architecture Modular & sandboxed runtime

โš ๏ธ Before Running

IMPORTANT:
Remove the following folder before launching:

Remove: Testing

๐Ÿ›  Installation

๐Ÿ”น Clone Repository

git clone https://github.com/arshc0der/AstraX.git
cd AstraX

๐Ÿ”น (Optional) Virtual Environment

python -m venv venv

# Windows
venv\Scripts\activate

# macOS / Linux
source venv/bin/activate

๐Ÿ”น Install Dependencies

pip install -r requirements.txt

๐Ÿš€ Launch Simulator

python main.py

โœ” Automatic High-DPI / 4K scaling support


๐ŸŽฎ Mission Workflow

Phase 1 โ€” Rocket Design

  1. Configure Dry Mass
  2. Set Fuel Capacity
  3. Tune Engine Thrust
  4. Click INITIALIZE FLIGHT SYSTEMS

Phase 2 โ€” Mission Control

  1. Write your mission_loop()
  2. Press LAUNCH MISSION
  3. Observe real-time 3D trajectory

๐Ÿ“ Example Flight Program

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)

๐Ÿ“‚ Project Structure

AstraX_Sim/
โ”œโ”€โ”€ main.py
โ”œโ”€โ”€ core/
โ”‚   โ”œโ”€โ”€ physics.py
โ”‚   โ”œโ”€โ”€ runtime.py
โ”‚   โ””โ”€โ”€ mission_result.py
โ”œโ”€โ”€ ui/
โ”‚   โ”œโ”€โ”€ window.py
โ”‚   โ”œโ”€โ”€ viewport.py
โ”‚   โ””โ”€โ”€ designer.py
โ””โ”€โ”€ assets/
    โ””โ”€โ”€ theme.py

๐Ÿค Contributing

Contributions are welcome ๐Ÿš€

  1. ๐Ÿด Fork the repository
  2. ๐ŸŒฑ Create a feature branch
  3. ๐Ÿ›  Commit your changes
  4. ๐Ÿ” Open a Pull Request

If you like Astra-X, please โญ star the repo โ€” it helps a lot!


๐Ÿ“ฆ Deployment (Standalone EXE)

python -m PyInstaller --noconsole --onefile \
--name="AstraX" \
--icon="assets/logo.png" \
--add-data "assets;assets" \
--version-file="version_info.txt" \
main.py

๐Ÿ“ข Stay Connected

Platform Link
GitHub https://github.com/arshc0der
Issues https://github.com/arshc0der/AstraX/issues

๐Ÿ“œ License

Distributed under the MIT License. ยฉ 2026 Arsh


โค๏ธ Built for engineers, students, researchers & space dreamers.

Astra-X โ€” Not a game. A real mission simulator.