Github Link for this project

In this project, three main rules seperation, alignment and cohesion of Reynolds flocking algorithm was implemented in Python using p5 library.

  • Seperation: Agents move away from each other to avoid collisions
  • Alignment: Agents match their heading with other agents to move like a group
  • Cohesion: Agents stay close to each other to form a group

Here is a picture that shows these rules: seperation (left), alignment (center) and cohesion (right) Three Reynold Rules

Keywords about the project:

  • Reynolds Rules (Boids)
  • Python
    • p5
    • numpy

Here is a video of the system in action:


More Information

To learn more about the project, you can refer to Github repository.