Flocking figures as part of a class of mesoscopic phenomena which show emergent patterns. The movement behaviour is essentially a modified Craig Reynolds model and consists in the following mechanisms:
The simulation is performed with Processing a graphic library and IDE based on Java.
The result of this procedure is shown in the following video:
The analysis is performed with Python and is divided in the following codes: