Ecosystem Population Dynamics

Model a food chain of coral, fish, and humans.

← Differential Equations projects

Learn Mathematics Differential Equations

Question

How can interactions among coral, fish, and humans produce changing population cycles?

Goals

  • Build a simple agent-based food-chain model.
  • Track how population counts respond when organisms are added or removed.

Method

Give each type of organism a small set of movement, feeding, and survival rules.

  • Let fish depend on coral and let humans interact with the fish population.
  • Update every agent and population count in short time steps.
  • Change the starting populations and compare whether the ecosystem grows, cycles, or collapses.

Try an example

Change the numbers of humans, fish, and coral in a simple agent-based food-chain model.

Controls: Press Enter to start. Use Q, W, and E to add humans, fish, and coral.