Skip to content
This repository has been archived by the owner on Mar 28, 2018. It is now read-only.

sidmishraw/flocker-proto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flocker

Author: Sidharth Mishra

This is a prototype for flocking simulation app using p5.js.

Following is an erratic demo (parameters are a mess) for Swallows flocking in the Flocker app. Flocker demo#1

For the following simulation the parameters are set at:

  • DESIRED_SEPARATION = 100.0

  • DESIRED_ALIGNMENT = 50.0

  • DESIRED_COHESION = 50.0

  • SEPRATION_WEIGHT = 3.5

  • ALIGNMENT_WEIGHT = 2.0

  • COHESION_WEIGHT = 2.0

  • Swallow count = 30

Flocker demo#2

References

[1] D. Shiffman, "Flocking", [Online] Website: https://processing.org/examples/flocking.html

[2] G. Kogan, "P5JS transformations", [Online] Website: https://genekogan.com/code/p5js-transformations/

[3] P5JS reference, [Online] Website: https://p5js.org/reference

Releases

No releases published

Packages

No packages published