Skip to content

Flocking simulation based on Daniel Shiffman's implementation in "The Nature of Code"

License

Notifications You must be signed in to change notification settings

notguiltyspark/FlockingSimulaion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FlockingSimulaion

Flocking simulation based on Daniel Shiffman's implementation in "The Nature of Code"

External Libraries
Project Description

The idea is for every boid to traverse the "pack" and update its position according to three rules:

  • align
  • cohese
  • separate

By implementing all behaviour rules in single run, using method swarm, constant factor in algorithm complexity may be reduced by three times.

For further performance improvement, multithreading implementation is considered.

Snapshot

About

Flocking simulation based on Daniel Shiffman's implementation in "The Nature of Code"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published