Skip to main content
The World tab is the primary control surface for the simulation. It sets the scale of the ecosystem, controls food availability, and provides real-time population monitoring.

Sliders

Changing Organisms or Number of Species (in the Species tab) calls initWorld, which completely resets the simulation — all organisms, food, generation counter, and population history are cleared.

Population graph

The Population Over Time canvas tracks per-species organism counts across the last 200 ticks, updating every 0.25 seconds. Each species is drawn as a colored line using that species’ assigned hue. The graph gives an at-a-glance view of boom-and-bust cycles, species dominance shifts, and extinction events.

Species census legend

Below the population graph, the Species Census row shows a colored dot for each active species alongside its live organism count. Dots use the same 12-color palette assigned at world initialization. Zero-count species remain listed to make extinctions visible.

Scenario presets

The Scenario Presets dropdown loads a curated set of slider and checkbox values tuned for a specific ecological dynamic: Applying a preset calls applyPreset(), then immediately calls resize() and initWorld() — the world resets automatically with the new parameters. There is no need to click Reset World separately after choosing a preset.

Reset World

The Reset World button re-initializes all organisms, food pellets, oases, and the generation counter using the current slider values. Population history is also cleared.

Stats bar

The stats bar at the bottom of the panel updates every frame: