Agent sorting
Agent sorting
This is an interactive simulation where colored circles (agents) attract each other, form bonds on contact, and experience a horizontal displacement based on their numeric value. The simulation demonstrates how agents can sort themselves into patterns without global supervision or control. local interactions produce emergent sorting behaviour. You can place obstacles to make it harder for the agents to sort themselves.