PixelOkay/Ecosystem SimulatorSCIENCE LAB
Checking browser storage…
Tools
EXPLORE · EXPERIMENT · UNDERSTAND

Population dynamics

Watch the feedback loop between prey, predators and available habitat.

Paused
PREY POPULATION190Blue · herbivores
PREDATOR POPULATION22Orange · carnivores
SIMULATED DAY0Max. 3,650 days
CARRYING CAPACITY360Seasonally adjusted

Living habitat

Illustrative animal icons · not individual-level agents

Prey Predators

Population trends

Connected, deterministic population model

Prey Predators
Day 0: 190 prey · 22 predators
Comparison lines are shown dashed. Changing model parameters affects only future simulated days.
Populations interacting

Start playback or step forward to explore the model.

MODEL ACTIVE
ECOSYSTEM SIMULATOR

Explore how predator and prey populations shape each other

Change reproduction, mortality, habitat capacity and encounter rates to investigate population cycles in a simplified ecological model. Step through time or play automatically. Apply hypothetical drought, disease and conservation interventions, save a reference scenario, and compare population curves. Download CSV records, vector SVG charts, PNG plots and editable JSON projects. All computation runs on your device.

How does the predator–prey model work?

Prey grow logistically toward a carrying capacity that changes with the seasons. Predators reduce prey through encounters and gain reproductive benefit from consumption; predators also experience natural mortality. The simulation uses a fixed-step fourth-order Runge–Kutta solver. Numerical populations represent continuous model units and are not individual tracked animals.

Limitations and privacy

The model omits age structure, dispersal, stochastic weather, spatial migration, disease networks and many real food-web interactions. Outcomes are suitable for learning and hypothesis exploration, not environmental management decisions. Projects can be saved locally as JSON. Browser autosave uses version-checked IndexedDB and is best-effort; use Save project to preserve important results. Maximum simulated timeline: 3,650 days.

Using Ecosystem Simulator

Explore a simplified seasonal predator-prey model, compare hypothetical interventions and one-parameter sensitivity, and export population trajectories.

Workflow

  1. Load or edit the prey/predator starting values and model parameters, including seasonal capacity assumptions.
  2. Run or step the fixed-step simulation, then add an intervention or open a non-mutating what-if comparison.
  3. Compare trajectories and the selected sensitivity result, review the assumptions, and export the timeline or a JSON project backup.

Worked example

Run the supplied two-population scenario, save a baseline, then compare a hypothetical intervention under the same parameters. Change one parameter in the sensitivity view and compare the resulting trajectory without treating it as an ecological forecast.

Limits and data handling

This is a simplified continuous two-population model using fixed-step RK4, seasonal capacity, and interventions. What-if and sensitivity outputs are educational counterfactuals, not forecasts or confidence intervals. Sensitivity changes one parameter at a time. History snapshots do not preserve every prior coefficient needed for full independent replay. IndexedDB conflict and recovery behavior is unverified; keep JSON backups.

Frequently asked questions

Can I use the population curve as an ecological forecast?

No. The simplified model and intervention scenarios are educational explorations, not ecological forecasts or confidence intervals.

Does sensitivity analysis vary several parameters together?

No. The supplied sensitivity view changes a single parameter at a time; it does not measure combined uncertainty.

Related tools