3D Flocking Simulation Around Earth
Watch autonomous agents (boids) exhibit emergent flocking behavior as they orbit Earth! This simulation demonstrates three simple rules that create complex, lifelike movement.
Controls: Click to add boids • Press SPACE to toggle trails • Press R to reset • Press C to clear all • Press A to toggle auto-rotate
Camera: Left-drag to rotate • Right-drag to pan • Scroll to zoom
Current boid count: 150
Flocking Behavior Explained
- Separation: Avoid crowding neighbors
- Alignment: Steer towards the average heading of neighbors
- Cohesion: Move toward the average position of neighbors