Flocking Behavior Simulation with THREE.js

This repository contains an implementation of the flocking behavior algorithm using THREE.js, a powerful JavaScript library for creating 3D graphics in the browser. The flocking algorithm simulates the movement of a group of entities (boids) that behave similarly to a flock of birds, a school of fish, or a swarm of insects.

Demo

Click here to view the live demo

To run the simulation locally

git clone https://github.com/Censacrof/flocking-behavior.git
npm i
npm run dev