Beat the Whites with the Red Wedge

Video by Lars Künstler

The complex patterns of movement in this animation are an implementation of swarm algorithms developed by Craig Reynolds based on three simple rules for each individual in a hunter / prey scheme.

The title refers to a lithograph by El Lissitzky from 1919.
Implemented with Blender 3D.

Prey: the Whites (gray wedges) 

Hunter: The Red wedges (wedges with red light gray background)

Three rules:

Steer to avoid crowding local flockmates (separation).
Steer towards the average heading of local flockmates (alignment).
Steer to move toward the average position of local flockmates (cohesion).

swarm algorithms by
CRAIG REYNOLDS • Boids – Background and Update by Craig Reynolds