Create Your Own Active Matter Simulation (With Python)
For today’s recreational coding exercise, we simulate active matter, i.e., swarming. Such a system may describe a flock of birds or a school of fish. We will look at how very simple rules may lead to the emergence of self-ordered motions.
You may find the accompanying Python code on github.
But first, below is a gif of what running our simulation looks like: