An agent-based model and simulation of starling murmuration.
The model is based overwhelmingly on the paper 'Self-organized aerial displays of thousands of starlings: a model' by H. Hildenbrandt C. Carere and C.K. Hemelrijka. It's available for free here. (Wow, isn't Open Access academia lovely?)
I made this as my project for MATH 437 Mathematical Methods in Biology at McGill University in the 2017 Winter Term with Aashna Uppal.
The project was written in Processing 3, which looks a lot like Java. It's also the language I first learnt to code in (thank you you great people!) I've included two folders.
This is the 'culmination' of the project and includes most of the features discussed in the paper above as well as a few (I feel) nicer implementations.
Download the most recent version of Processing 3 and the rest will be plug-in and play.
This is a bonus to let you play with the 'social forces' of the agents: cohesion, separation and alignment. Without 'topological interaction', a key element of the starling simulation, the agents look more like fish.
Download the most recent version of Processing 3 as well as a library called Control5.