European Starling (Sturnus vulgaris)
Starlings murmurate to confuse aerial predators. Each bird tracks just 6–7 nearest neighbors regardless of distance.
Cavagna et al. (2010) — PNAS
Murmurations are a classic example of emergent behavior, where complex, collective patterns arise from simple local interactions to maximize evolutionary fitness. By responding to tactile and visual stimuli from immediate neighbors, individuals create a fluid defense that confuses predators, illustrating how decentralized signaling can ensure population survival.
Craig Reynolds' 1986 algorithm with three rules:
Starlings use topological neighborhoods — tracking 6-7 nearest neighbors regardless of distance.
GPU-accelerated simulation running entirely in your browser: