Fishy Behaviour

Exploring the behavioural pattern of Fish in their natural habitat

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.

The objective is to create an engaging environment where users can experiment with the behavior of the fish. The boids' movements are governed by three rules: cohesion (moving towards neighbors), separation (avoiding crowding), and alignment (matching the direction of neighbors). The P5 library facilitates the creation and visualization of this interactive simulation.

This project highlights the dynamic and emergent behaviors of fish schools, allowing users to interactively explore these phenomena.

info_outline