BOIDS
A boids demo in Unity
View source code here

In preparation for my A-Level project, I created a demo of boids in Unity. A boid is a simulation of emergent flocking - this is where individuals follow simple rules that end up creating a complex chaotic structure. With boids, the three main rules are:
- Coherence (move toward the average position of any nearby individuals)
- Alignment (steer in the same direction as any nearby individuals)
- Avoidance (steer away from any individuals who are too close to avoid a collision)