Flocc

Agent-based modeling in JavaScript in the browser or on the server. [v0.5.19]

Flocking (3d)

This model extends the 2d flocking model into 3 dimensions, using Three.js instead of Flocc renderers to visualize the emergence of flocking behavior.
Like many other models, the environment is bounded such that agents that go outside of the cube will emerge on the other side.