The fish interacts with the mouse. if you want to tweak the behavior of the fishes, you can set some variables on the left. The settings are set to the perfect settings, and if you want to set it back, just press space. Speed -- the target speed for the fishes Resolve -- how fast the fish adapts to the change of the speed setting Range — how far the fish can "see," this includes other fish and the mouse. The fish can change its direction with the nearby fish and mouse only in its range of sight. Separation — how far the fish want to stay away from each other. Cohesion — how close the fish wants to be with each other. Alignment — how much the fish wants to have the same direction with each other. Color — how each fish looks like.
This project is a simulation of how a school of fishes would interact with each other. Sit back and watch the satisfying clumps of fish swim around. (The trails are so satisfying) Note: there's not a lot of fish in the simulation because my old computer can't handle more. Music by @mocca200