Inspiration
Drone swarm tactics need cheap simulation before real flights. This project simulates friendly vs enemy drones with detection and firing ranges in a bounded arena.
What it does
Simulates 3 friendly vs 4 enemy drones (specs in drone_specs.csv: weight, endurance, speed, altitude) with detection range 80, firing range 30-250, arena 500; animated Matplotlib battle view with bases (gallery render is a real frame from the sim).
How I built it
- Python: swarm_core.py (Drone model), swarm_visualization.py (FuncAnimation 500 frames), app.py entry
- Neon-style arena rendering with bases and range rings
Challenges
Tuning detection/firing balance so engagements resolve instead of stalemating.
What I learned
Agent-based sim design and Matplotlib animation pipelines.
Links
Built With
- defense
- drones
- matplotlib
- python
- simulation