Swarm

Swarm is an artificial intelligence algorithm for producing natural-looking movement in large swarms of creatures. Another similar algorithm to use in similar situations is Craig Reynold's flocking algorithm. But the flocking algorithm is computationally expensive, so a swarm is a better alternative if you don't need accuracy, but a convincing organic movement of hundreds of creatures. The swarm you can test here is using 500 creatures.

Images

Play it

Share me

twitter icon facebook icon

...and follow me on Twitter: @eriknordeus