Flocking

Interactive simulation of Craig Reynolds boids. Base of this flocking algorithm are three rules: cohesion, alignment and separation.

Source code can be found here.

Entities managment

Point where you want selected entity to spawn and press 's'

Customize attributes