Loved it, very calming, thanks !
A downloadable game for Windows, macOS, and Linux
A simple flocking demo built in Unity
These little fishes follow three simple rules:
- Separation - avoid crowding neighbors (short range repulsion)
- Alignment - steer towards average heading of neighbors
- 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.