Assignment 4

CS 559 Computer Graphics | Fall 2023

School of Fish: Boid flocking, but the boids follow a leader fish which traces a parametric piecewise closed Hermite curve. Referred to flocking simulation theory from Craig Reynolds' page: //www.red3d.com/cwr/boids/. Could not find any glMatrix implementations of flocking online, so wrote my own. However, some of the code is inspired by this page.


Alignment
Cohesion
Separation