This work explores the concept of emergence in nature whch is further studied in the flocking behavior of fish using the P5 library. This is a variation of a particle system representing “boids”, which mimics the behaviour of fish and birds. Through the course of the project , the stimuli and the overall nature of the exploration was iterated on multiple times to finally result in the follow interactive project.
There are two types of stimuli:
In areas that are green on the canvas,
a click represents a positive stimulus that causes the boids to move towards the position.
A positive stimulus also causes the creation of a flock mate. In areas that are red,
a click leads to a negative or dangerous stimulus, causing the boids to move away from that position.