Skip to content

Implementation of boids / bird flocking algorithm using processing javascript

Notifications You must be signed in to change notification settings

adityaanantharaman/boids

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Boids Algorithm implemented using p5.js

In order to run the simulation on a local system.

  1. clone the repository
  2. run the index.html file

The boids.js file consists of implementation of the rules for each of the individual boids. These rules are implemented as functions align, cohese, repulse.

sketch.js consists of setting up the p5.js canvas and implementing the draw function as well as the controls for the parameters.

Link to simulation on the web

About

Implementation of boids / bird flocking algorithm using processing javascript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published