Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

knaticat/Flocking-Simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flocking-Simulation

This Simulation is based upon Craig Reynolds "Boid" algorithm which simulates the flocking behavoiur of birds. Individual boid objects follow four simple steering rules:

  1. Alignment: head towards average direction of nearby boids.
  2. Cohesion: steer towards the average location of nearby boids.
  3. Separation: Avoid Colision with nearby boids.
  4. Flee: Run away from predators.

Feautures:

  1. Two different types of Boids.
  2. Predator avoidance.
  3. Peripheral Vision.
  4. Quadtree Optimized

Inspiration

The Coding Train flocking simulation challenge-Daniel Shiffman

Live Demo: Boid Algorithm

About

A simple p5 implementation of Craig Reynolds "Boid Algorithm"

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.