SCENE INFO
This scene is built on top of a CPU boid simulation. The fish are controlled by 4 simple rules, separation, alignment, cohesion, and centering.
Each rule has a weight associated with it which defines its importance, the fish will update their state based on the rules by the amount defined by the weight each tick.
Since this was one of my first ever experiments with Three.js I used it to learn about the webgl renderer, camera, and the three.js api.
On a desktop fish will try not to swim into your cursor.