« Site-Specific Site Analysis: Water/Wildlife of the Great Salt Lake | Main | GLArt Week 7: Self-Similar »

Nature of Code: Interstitial

twin flock screenshot 1 - thumbnail

This is a screenshot of an animation I did in Processing. I threw some Aphex Twin over it and made some QuickTime files, which you can download here (10MB, 320x240) and here (60MB, 640x480, high quality).

The code is really simple. I took Shiffman's flocking example and made the "boids" leave behind particles, which behave according to their own set of (non-flocking) rules. Then I reflected the whole thing down the center of the screen and alpha blended each frame on top of the last (just to make sure I was complying with all of Processing's genre conventions). Just a bit of programming fun.

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)