A simulation of a school of sardines written in C# and based on the BOID model by Craig Reynolds. Built by myself in Unity in 2 months.

The project can be downloaded from and GitHub.

What I did:

  • Developed systems that made the BOIDs avoid obstacles, group together and move to the centre of their group.
  • Built a system that prioritizes BOID behaviour based on surroundings.
  • Built and designed the behaviour of basic predators.
  • Built a UI that controls parameters in simulation.
  • Created and animated sprites for BOIDs and predators.
  • Edited a Devlog showcase for YouTube.