Flock simulation in Unity
Language: C#
Abstract: This is an individual final project I made for my Technical animation course in Carnegie Mellon University. The demo primary goal is to simulate how flock behaves using the boids algorithm with 3 rules: Cohesion, Alignment, Avoidance, and design an interface to let user interactively see the result with different weights of parameter. Second goal is to test the implementation with different test cases of scenarios and compare the result.
Abstract: This is an individual final project I made for my Technical animation course in Carnegie Mellon University. The demo primary goal is to simulate how flock behaves using the boids algorithm with 3 rules: Cohesion, Alignment, Avoidance, and design an interface to let user interactively see the result with different weights of parameter. Second goal is to test the implementation with different test cases of scenarios and compare the result.
Scenario: Equal amount of 2 group of boids (Blue:50, Yellow:50)
Test case left: High Alignment weights
Test case right: High Alignment weights and High Avoidance weights
Test case left: High Alignment weights
Test case right: High Alignment weights and High Avoidance weights
Scenario: Equal amount of 2 group of boids (Blue:50, Yellow:50)
Test case left: High Alignment weights
Test case right: High Alignment weights and High Cohesion weights
Test case left: High Alignment weights
Test case right: High Alignment weights and High Cohesion weights

Flock simulation_Final report.pdf |