This is a real-time interactive simulation based on the classic boids flocking algorithm, originally introduced by Craig Reynolds.
Watch hundreds of agents come to life using just three simple rules:
Alignment (match direction)
Cohesion (stay together)
Separation (avoid crowding)
What makes it fun? You can actually play with the system.
🔹 Add attractors and repellers
🔹 Observe emergent patterns in real time
🔹 See chaos turn into organized motion