Try it out here.
This is a simulation based on the theories from Craig Reynolds’ work, Steering Behaviors For Autonomous Characters and code from Daniel Shiffman’s The Nature of Code.
Example Videos
Flocking:
References
- Session 3 of The Nature of Code - free course by Dan Shiffman.
- Craig Reynolds’ Steering Behaviors For Autonomous Characters