A physically-based particle model of emergent crowd behaviors