Skip to main content

Mouse controls

Click and right-click anywhere on the simulation canvas to interact with the living world directly.
InputActionDetail
Left-clickDrop food clusterSpawns 8 food pellets within a ~30px radius at the cursor position
Right-clickSpawn organism groupSpawns 5 organisms of a random species near the cursor
HoverInspect organismDisplays a tooltip for the nearest organism showing species, stats, and genes

Keyboard shortcuts

Keyboard shortcuts work whenever focus is not inside a text input, select, or textarea field.
KeyAction
SpacePause / Resume simulation
1Set speed to 0.5x
2Set speed to 1.0x (default)
3Set speed to 2.0x
4Set speed to 5.0x
SToggle ambient sound on/off
LToggle AI Lab Partner panel open/closed
The hint card (splash screen) that appears when you first load the simulation dismisses automatically on your first interaction — any click, right-click, key press, or button touch counts. It fades out over 1.2 seconds and is removed from the DOM after the transition.

Time display

A small pill at the top center of the screen shows elapsed simulation time in MM:SS format. This reflects simulated time, which runs faster than real time when speed is set above 1.0x and slower at 0.5x.

Organism tooltip

Hovering over any organism opens a fixed tooltip near the cursor. The tooltip updates every 3 frames and shows:
FieldDescription
Species name + indexSpecies color name (e.g. Red, Orange, Gold) and the organism’s internal array index
SizeCurrent rendered size, derived from energy as sqrt(energy) × 1.5
EnergyCurrent energy level; organism dies when this reaches 0
AgeTime alive in simulation seconds
KillsNumber of organisms this individual has eaten
SpdSpeed gene as a percentage (0–100%)
AggAggression gene as a percentage (0–100%)
EffEfficiency gene as a percentage (0–100%)
PerPerception gene as a percentage (0–100%)
The tooltip disappears when no organism is within range of the cursor.

Left panel — simulation controls

The left panel contains five tabs. It can be collapsed by clicking the button in the panel header, and reopened with the hamburger toggle (☰) that appears in the top-left corner.

World tab

The default tab. Contains top-level world parameters and live population data.
  • Pause / Play, Reset World, Sound On/Off, Record, Fullscreen — action buttons
  • Scenario Presets — dropdown to select and apply one of six tuned presets (Stable Eden, Arms Race, Battle Royale, Superorganism, Food Chain Cycle, Extinction Event) plus a Custom entry
  • Share Link / Export / Import — copy a shareable URL encoding current settings, download a .primordial settings file, or load one
  • Organisms slider — starting organism count (500–50,000; default 5,000)
  • Food Pellets slider — starting food count (100–10,000; default 2,000)
  • Food Spawn Rate slider — pellets spawned per second (1–80; default 15/s)
  • Simulation Speed slider — continuous speed multiplier (0.1–5.0; default 1.00)
  • Population Over Time — a 200-sample rolling graph showing per-species population history, color-coded by species
  • Species Census — colored dot chips showing live organism counts per species

Species tab

Controls organism biology and lifecycle parameters.
  • Number of Species — how many distinct species exist (2–12; default 5)
  • Starting Size — initial size of newly spawned organisms (1.0–8.0; default 3.0)
  • Max Size — maximum organism size cap (8–40; default 18)
  • Organism Speed — base movement speed multiplier (0.3–4.0; default 1.2)
  • Lifespan — maximum age before organisms die of old age (10–120s; default 30s)
  • Reproduce at Size — size threshold that triggers reproduction (5–30; default 12)
  • Offspring Count — number of offspring per reproduction event (1–5; default 2)
  • Food Oases — number of concentrated food zones on the map (0–8; default 4); oases bias 60% of food spawns toward these regions

Rules tab

Governs predation logic and the five behavioral drives. Predation
  • Same Species Protected — checkbox; when enabled, organisms cannot eat members of their own species (default: on)
  • Food Chain (Rock-Paper-Scissors) — checkbox; each species only hunts the next species in sequence, wrapping around, producing circular predation and Lotka-Volterra oscillations (default: off)
  • Size Advantage to Eat — how much larger a predator must be relative to prey to eat it (1.05–2.0x; default 1.3x)
  • Energy from Eating — fraction of prey size gained as energy on a kill (0.1–1.0; default 0.50)
Behavior drive sliders
SliderRangeDefaultEffect
Hunt Drive0–30.8Intensity of attraction toward edible prey
Flee Drive0–41.5Intensity of repulsion from larger predators
Flock Cohesion0–20.4Pull toward same-species center of mass
Food Attraction0–31.2Pull toward nearest food pellet
Separation Force0–20.6Push away from overlapping neighbors

Evolve tab

Controls the genetic mutation system.
  • Enable Mutation — master toggle for all genetic drift (default: on)
  • Mutation Rate — probability per gene per reproduction event that a mutation occurs (0–0.5; default 0.15)
  • Mutation Strength — magnitude of each mutation as a random offset (0.01–0.5; default 0.20)
Traits that evolve — individual toggles for each heritable gene:
ToggleGeneEffect when evolved
Speed GeneMovement multiplierLineages diverge toward fast or slow movers
Aggression GeneHunt drive intensityPredatory vs. passive behavioral splits
Efficiency GeneMetabolic cost reductionSurvival advantage under food scarcity
Perception GeneSight range for food and threatsWide-ranging foragers vs. short-sighted organisms

Visual tab

Renders and visual effects toggles.
  • Additive Glow — enable WebGL additive blending for a glowing bloom effect on organisms (default: on)
  • Death Particles — enable colored particle bursts when organisms are eaten or die of starvation (default: on)
  • Show Food Oases — overlay semi-transparent teal circles indicating food oasis zones (default: on)
  • Food Glow slider — intensity of the pulsing glow on food pellets (0.2–2.0; default 1.0)
  • Trail Length slider — persistence of the previous frame, creating motion trails (0 = off; up to 0.95 for long trails; displayed as Off / Short / Medium / Long)

Stats bar

A fixed row at the bottom of the left panel shows four live metrics updated every frame:
ChipValue
FPSRendered frames per second
AliveCurrent number of living organisms
FoodCurrent number of active food pellets
GenTotal reproduction events since world reset (generation counter)

Right panel — AI Lab Partner

Press L or click the star icon (⚛) in the top-right corner to open the AI Lab Partner panel. Close it with the button or by pressing L again.

AI provider settings

A collapsible section at the top of the panel. Click the AI Provider Settings header to expand or collapse it.
FieldDescription
ProviderSelect OpenAI (GPT), Anthropic (Claude), xAI (Grok), or Custom/Local
API KeyYour provider API key — stored in localStorage only, never sent anywhere except your chosen provider
ModelModel name to use (e.g. gpt-4o, claude-sonnet-4-20250514, grok-3-mini)
Endpoint URLShown only for Custom/Local — accepts any OpenAI-compatible URL (LM Studio, Ollama, vLLM, etc.)
Click Save Settings to persist your config. Click Test Connection to verify the API key and model are working.

Chat

A scrollable conversation history where the AI Lab Partner responds as a research scientist. Every message includes a live snapshot of the full simulation state as context — species populations, gene averages, food supply, extinction events, top predator stats, and current parameter settings. Type a question in the input field and press Enter or click Send. The AI maintains the last 10 messages of conversation history for continuity.

Quick actions

Five one-click buttons above the input field:
ButtonWhat the AI does
Analyze NowReports which species are thriving or struggling, current evolutionary trends, and predictions
Design ExperimentProposes a hypothesis with specific slider changes and a duration, then auto-executes the experiment
Compare SpeciesRanks all species by fitness based on population trends and gene profiles
Predict OutcomesForecasts population dynamics, gene drift, and potential extinctions over the next ~60 seconds
Full ReportWrites a structured research report covering population dynamics, evolution, resource distribution, and predator-prey relationships

Experiment status

When the AI designs and runs an experiment, a pulsing indicator appears between the chat and the quick-action buttons showing Running experiment… with a countdown in simulation seconds. The system automatically captures a before-snapshot at experiment start and an after-snapshot at completion, then sends both to the AI to generate a structured lab report.