Aris Lyu

Summary: Utilize the rules of the Boids Algorithm to generate a simulation of flying creatures that are not affected by gravity.

These rules encompass Coherence, Separation, and Alignment. Besides, I took into account ego, steering, FOV, neighbors, and phototaxis as other constraints and factors.

The boids would follow the glowing sphere when the phototaxis setting is turned on

The boids would follow the glowing sphere when the phototaxis setting is turned on

In addition, you can allow the camera to follow and track the movement of a specific unit by right-clicking on it (right-clicking on an empty space will exit this mode).

The boids behave differently when the three rules are applyed under different conditions.

(A=Alignment, S=Separation, C=Coherence)

Untitled

High S, High A ⇒ units stay as small groups

Untitled

Low S, High A ⇒ A large group with some outliers.