← Original project & creditsA small ocean.
Interactive adaptation · 2026
A small ocean.
A thousand interactions.
Plant a food source. Add a hunter. Watch simple rules ripple through an ecosystem.
Algae 54
Prey 28
Predators 5
Apex 2
Every fish follows a few rules.
Prey seek algae and flee hunters. Predators seek prey, while apex predators hunt both. Nearby fish separate, align, and move together. Feeding replenishes energy; enough energy allows reproduction.
Change one thing. Observe.
Add predators, switch off the current, or plant more algae. Populations can collapse. Reset gives you a fresh start. This is a simplified educational model, not a scientifically calibrated ocean.
A new browser interpretation of the Processing project by Andrés Brenes Maleaño, Axel Fernández Jiménez, and Bryand Flores Medina. Original sprites and desktop code are not bundled. Original source ↗ · Browser simulation source ↗