Screenshot of Pond java applet
Screenshot of Pond java applet

Pond

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





Media
java

Download
get source code