This is a study of simulating flocking behviours, per Craig Reynolds' model of separation, cohesion, and alignment.
Ripples attract the fish (mouse click), the cursor scares them a bit, and big fish (Key 1,2,3) scare them a bit more.
This piece is created originally for processing.org's exhibition section back in 2003. (How time flies!) The code is also published in the Processing book.
— 2003. 03. 20
Save
Bookmark and Share
Comment
write
Keywords
code
processing
motion
simulation
published
exhibited
Media
java
Download
source code