Multi-Domain Swarm Intelligence

A high-performance Python simulator for heterogeneous swarms. Orchestrate UAVs and Ground Rovers in procedurally generated 3D environments.

View Code Learn More

user@swarmsim:~$ python main_3d.py

[INFO] Generating Perlin Terrain (Scale: 30.0)...

[INFO] Initializing 50 Agents (25 UAV, 25 Rover)...

[PHYSICS] Numba Acceleration: ENABLED (FastMath=True)

[GCS] Mission Planner: SEARCH_AND_RESCUE

[VIS] PyVista Interactive Window Opened.


> UAV-01 State: SEEKING -> DETECTED TARGET

> ROVER-04 State: IDLE -> DEPLOYING TO COORD [124, 85]

Core Capabilities

🚀 Numba Accelerated

Physics kernels are JIT-compiled to machine code. Simulate thousands of agents with complex steering behaviors at 60+ FPS.

🌍 3D Environments

Procedural terrain generation using Perlin Noise. Heightmaps affect agent physics—Rovers clamp to ground, UAVs navigate airspace.

🤖 Heterogeneous Swarms

Manage distinct agent types in one simulation. UAVs scan from above, while Rovers navigate complex terrain on the ground.

🧠 State Machine Logic

Agents aren't just particles. They switch behaviors dynamically: IDLE, SEEK, ORBIT, and FLEE based on mission parameters.

📡 Mission Planning

Integrated GCS (Ground Control Station) module featuring Search & Rescue algorithms, Lawnmower patterns, and A* pathfinding.

🎨 PyVista Visualization

Interactive 3D rendering. Zoom, pan, and rotate your swarm in real-time with GPU-accelerated glyph rendering.