Demonstration of Flocking Behavior using 3JS on top of WebGL
boilerplate skybox inspiration
-
I got this up and running pretty quick using my 2D steering behaior examples. The 3 basics of alignment, separationa and cohesion are all on display.
-
3D math for rotations are much more complicated so the facing behavior still needs some work. I need to delve a bit more into linear algebra.