A downloadable game for Windows, macOS, and Linux

A simple flocking demo built in Unity

These little fishes follow three simple rules:

  1. Separation - avoid crowding neighbors (short range repulsion)
  2. Alignment - steer towards average heading of neighbors
  3. Cohesion - steer towards average position of neighbors (long range attraction)

With these three simple rules, the flock moves in an extremely realistic way, creating complex motion and interaction that would be extremely hard to create otherwise.

In addition, there are red obstacles that you can add to further guide the flock however you want.

WebGL Build

Unity Project


flocking-windows-x64.zip 16 MB
flocking-linux-universal.zip 34 MB
flocking-macosx-universal.zip 29 MB


Log in with itch.io to leave a comment.


Loved it, very calming, thanks !

Wow, glad you liked it!