Home Games About Github Writing
Maxim Kim
Boids Simulation

Max162717@gmail.com

Number of Boids

Cohesion radius

Seperation radius

Alignment radius

Cohesion Strength

Seperation Strength

Alignment Strength

Minimum velocity

Maximum velocity

Boid radius

Overall Opacity

How It Works

There are 3 types of forces that determine the x and y velocity of a boid. Cohesion, seperation, and alignment, and you can change their strengths just by altering a constant in their calculation. Cohesion is the boid's movement towards the center of all the boids within a designated distance. Seperation is the movement away from all boids within a designated distance. Alignment is the alignment of boids towards the average velocity of nearby boids within a designated distance.

Copyright © 2022 Maxim Kim