When a swarm of birds scatters to confuse a predator, or a basketball team rotates to defend a fast break, something ...