
For project 3, I decided to implement the 3-d boids algorithm. This allows objects to simulate natural flocking behavior using the 3 rules of alignment, cohesion, and separation. My boids represent fish in a fish tank that travel as a school. I also introduced a predator to the tank which the "fish" avoid. I could not get the obj loader library from processing to work, so they are representsed as cubes for now. Here is a screen shot.


