Simulating Active Matter
A flocking simulation by Marco Leonardi and Rudi Van Velzen
Obstacle Controls
Add Random Obstacle
Clear All Obstacles
💡 Click anywhere on the canvas to place an obstacle, or click existing obstacles to remove them
Directional Entropy
Average Speed
0.00
Current flock velocity
Alignment
0.00
Direction coherence
Local Equilibrium
0.00
Average ψ
Neighbors
0.00
Average nearby boids
Simulation Controls
Reset
Pause
Add Predator
Remove Predator
Flock Parameters
Boids:
50
Alignment:
0.02
Cohesion:
0.02
Separation:
0.03
Perception Radius:
50
Field of View (rad):
2.35
Free Will:
0
Preset Behaviors
🐟 Fish
🕊️ Birds
🦌 Herd
🐝 Insects
🦆 Migrating Birds
Visual Options
Show Trails
Show Velocity Vectors
Show Perception Radius
Wind Effects
No Wind
Uniform
Vortex
Visual Theme
Midnight
Monochrome