swarming nodes

swarm.png

This example demonstrates a mouse-following behaviour within the GEM window. The nodes create different sounds, according to their positions.

Important feature of their behaviour is that they know each other`s position by storing and
reading them using an array. They try to keep distance from each other, while trying to follow the mouse position.

Built with Pd-extended 0.40.3 download the source