Back to projects
Nov 16, 2018
2 min read

Legacy · Project archive

An ocean of interacting agents

A Processing simulation combining predator–prey behavior, steering forces, flocking, and an interactive ocean environment.

Engineering foundations · 2018

A collaborative TEC project simulating an ocean food hierarchy. Fish interact with their environment and with one another through programmed behavioral rules.

Inside the simulation

  • A shared fish abstraction and distinct prey, predator, and superpredator classes.
  • Vector-based movement, steering, boundary handling, and a changing flow field.
  • Separation, alignment, and cohesion behaviors for groups of fish.
  • Hunger, feeding, death, and reproduction within the simulation loop.
  • Interactive controls for adding agents and displaying the flow field and perception ranges.

What it demonstrates

Object-oriented modeling, vector mathematics, and the translation of local behavioral rules into a visual simulation. This is rule-based agent behavior; it is not presented as a machine-learning system.

Team

Created by Andrés Brenes Maleaño, Axel Fernández Jiménez, and Bryand Flores Medina. The repository identifies the project as a three-student collaboration.

Historical source

Browse the November 2018 snapshot or view the original repository.

The original Processing application remains available as source. A new browser adaptation is available separately from the original Processing archive. It uses original geometric artwork, bounded populations, fixed simulation steps, and explicit pause/reset controls. It is an educational interpretation, not a scientifically calibrated model.

Explore the ocean browser demo.