Feeding Frenzy
ITP · Nature of Code (Daniel Shiffman) · Spring 2007 midterm · original blog
Controls
M add fish · B add flies · click to drop a fly · Space pause
Idea
A simulation of fish eating insects to illustrate that the rich get richer and the poor get poorer. Fish that eat grow, jump higher, and stay longer in the air where the flies are. Fish that don’t eat shrink and eventually die.
Reconstruction notes
- Original Processing (Java) applet, 2007 — sources partially recovered from the Wayback Machine in 2026 (truncated mid-file).
- This page is a p5.js playable rebuild from those stubs + blog behavior notes — not a line-for-line port.
- Historical truncated
.pdefiles sit beside this demo in the archive. - Full ITP recovery inventory: FULL-RECOVERY-REPORT.md