There is a scene in the animated blockbuster "Finding Nemo" when a school of fish makes a rapid string of complicated patterns—an arrow, a portrait of young Nemo and other intricate designs. While the detailed shapes might be a bit outlandish for fish to form, the premise isn’t far off. But how does a school of fish or a flock of birds know how to move from one configuration to another and then reorganize as a unit, without knowing what the entire group is doing?