ignifluous

Hi, I'm Matt! I'm a UXer, but I still dabble with code sometimes...

return to main blog

Your browser does not support the canvas tag.

SpeciedFlocking

Interact! - Click inside the black square, then press 0, 1, 2, 3, or 4 to create more boids! (Press R to start afresh)
Sliders - play with with sliders to alter the behaviour of a species:
Slider 1: Strength --- Size
Slider 2: Fear --------- Hunger
Slider 3: Friends ----- Freedom

Specied Flocking, by @ignifluous
Inspired by the Processing 1.5.1 example - "Flocking"

I heavily borrow from the example code - Original "Flocking" example, by Daniel Shiffman, can be found at http://processing.org/learning/topics/flocking.html

Source code: SpeciedFlocking

Creative Commons Licence
SpeciedFlocking by ignifluous.com is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.

Built with Processing and Processing.js