Logo Muuuh Nature and Wildlife Documentaries

muuuh

nature documentaries

Common Eider (Somateria mollissima) - Saguenay St. Lawrence Marine Park - 2021-08-23
Common Eider (Somateria mollissima) - 2021-08-23

Birds in Flight

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