Skip to content

EyalBraun/DefenseSystem-Cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DefenseSystem-Cpp: Active Interception Simulator

Hardware-Accelerated Ballistic & Interception Visualization

DefenseSystem-Cpp is a low-latency, hardware-accelerated simulation environment built in C++. It is designed to model, predict, and visualize the core mechanics of an active missile defense system (similar to the Iron Dome).

The system strictly separates the mathematical interception logic from the rendering pipeline, allowing for deterministic execution of ballistic trajectories, real-time tracking, and interceptor guidance algorithms while maintaining a 60+ FPS visualization loop.

🚀 Core Architecture

  • Language: C++17
  • Environment: Native Linux
  • Graphics Subsystem: Raylib (Statically linked for standalone execution)
  • Build System: Manual compilation via g++ for absolute control over linker flags and system dependencies.

⚙️ Simulation Mechanics

The project focuses on three primary operational phases:

  1. Threat Generation & Ballistics: Simulating incoming projectile trajectories using real-time kinematic physics (gravity, velocity vectors, and atmospheric drag).
  2. Prediction & Tracking: Calculating the projected point of impact and determining the optimal interception coordinate.
  3. Active Interception Guidance: Utilizing control logic (e.g., Proportional Navigation or PID-based tracking) to guide the interceptor missile to the predicted collision point.

🛠️ Project Structure

The project utilizes a self-contained dependency model. Static libraries and headers are kept local to ensure reproducible builds without relying on global system state.

DefenseSystem-Cpp/
├── include/
│   └── raylib.h           # Core graphics header
├── lib/
│   └── libraylib.a        # Statically compiled Raylib binary
├── src/
│   └── main.cpp           # Main execution, physics calculation, and render loop
└── README.md

About

Active Interception Simulator (Iron Dome architecture) built in C++. Models real-time ballistic trajectories, kinematic tracking, and PID/Proportional Navigation control loops for interceptor guidance.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors