Helbing's Social Force Model
Each pedestrian is pushed by a
desired velocity toward their goal,
repelled by walls, and
repelled by other pedestrians via exponential-decay forces. Two opposing streams self-organize into lanes.
Rightward stream
Leftward stream