swarm behaviour

Started by
2 comments, last by ehmdjii 17 years, 7 months ago
hello, i need to render some particles which move around in a swarm-like behaviour (like a fish swarm) so if the swarm moves in a specific direction, all the single particles basically also move in that direction but each at a slightly different speed and slightly different direction. which of course changes so that the swarm isn't split up and all the single particles remain together. are there any algorithms that describe an implementation of that behaviour? if so, i would be grateful if you could point me to some links or papers. thanks!
Advertisement
A - This is more of an AI related topic...

B - you want to look up flocking / boids

Boids (Flocks, Herds, and Schools: a Distributed Behavioral Model)
Boids pseudocode
If you want source code the inventor of boids has created one. It's called OpenSteer. It's easy to put together one youself but.. well you now the wheel invetion =)
Plane9 - Home of the free scene based music visualizer and screensaver
thank you! that already helps a lot!

This topic is closed to new replies.

Advertisement