Matthew k chiang
Boids
View code
Speed:
Flocking Radius:
Add 10
Clear
Features:
Flocking algorithm: Alignment, Separation, Cohesion
Sliders: control speed and flocking radius
Coloring:
Green: boids bounce off walls
Red: boids bounce off each other
Yellow: boids bounce off obstacles