Logo Muuuh Nature and Wildlife Documentaries

MUUUH

Nature Documentaries

Common Eider (Somateria mollissima) - Parc marin du Saguenay-Saint-Laurent - 2021-08-23
Common Eider (Somateria mollissima) - 2021-08-23

Dynamic Bird Flock Simulation with Boid Algorithms

This simulation models the behavior of bird flocks and predator-prey dynamics using 'boid' algorithms. Birds follow rules of alignment, cohesion, and separation to form flocks, while a predator actively pursues them. The prey birds maintain their flocking behavior but prioritize predator avoidance when threatened.

Rules

  1. Separation - Each bird tries to maintain a minimum distance from its neighbours to avoid crowding.
  2. Alignment - Each bird aligns its direction with the average direction of its nearby flock-mates.
  3. Cohesion - Each bird moves towards the average position of its nearby flock-mates.
  4. Velocity - Each bird has a maximum speed and steering force.

References

All content on this page — including photos, videos, and field audio recordings — was created by Karl-Heinz Müller, a Montréal-based wildlife filmmaker, sound recordist, and photographer. Founder of MUUUH and Québec Sauvage, he has spent over a decade documenting Canada’s natural habitats through immersive soundscapes and wildlife films. Learn more about Karl-Heinz

Last updated: 2025-11-14