|
Home |
|
|
|
University of Plymouth | Centre for Theoret. and Comput. Neuroscience | Home |
||
|
Swarm behaviourThis simple program simulates a "swarm of rats". The rats are depicted by small circles, the color of which indicates direction of movement. Rats detect each other in a certain neighbourhood (scale) and try to adapt their direction of movement to the average direction in that area. The strength of adaptation can be varied. The movement speed of the rats is held (roughly) constant, but you can add a certain noise to the movement direction.In dependence of the range and strength of interaction, and the noise level, the rats move in a single tight cluster, or virtually independently and random, or they organize into several almost independent groups which assemble and disassemble continuously. (Press "INIT" if the simulation starts with a single clumsy cluster.)
|
||
|
© 2004 by -thowe- |