Bloid Sim

Genetics & population

Mutation, reproduction, and initial population size.

iPer-gene chance that an offspring gets a new random value in [min, 1]. Higher = more exploration and diversity, faster evolution, but more disruption of good genomes.
iPer-timestep probability (× dt) that an individual spawns one child. Higher = population grows and evolves faster; too high can cause boom–bust or overcrowding.
iNumber of agents at start or after Restart. Larger = more diversity and interactions; smaller = easier to watch single lineages.
iBroad-phase for eat detection: none = O(n²), quadtree or spatial hash = faster for large populations.

Environment

Map dimensions in world units. Restart to apply changes.

iWidth of the simulation world. Larger = more space, sparser agents.
iHeight of the simulation world. Larger = more space, sparser agents.

UI

How often charts and stats sample the simulation timeline.

iSeconds of simulated time between chart/stat samples. Higher = fewer points and lighter charts; lower = more detailed but heavier.

Coefficients

Map genes to world: size, HP, eating, cost, speed.

iMultiplier for the size gene → display size and (with HP/cost) effective mass. Higher = bigger bodies and more impact of the size gene.
iMultiplier for the size gene → starting HP. Higher = agents live longer without eating; lower = faster turnover and stronger pressure to eat.
iFraction of prey's HP transferred to the eater. >1 = eating is very rewarding; 1 = one-to-one transfer.
iSize ratio required to eat: eater must be at least this × prey's size. Higher = stricter hierarchy; lower = more similar-sized predation.
iMetabolic drain per timestep = size_gene × cost × dt. Higher = big agents die faster without food; lower = size is less penalized.
iMultiplier for the agility gene → movement speed. Higher agility = faster movement.
iMultiplier for the observation range gene → raycast length in pixels. Higher = agents can see farther (but pay more energy cost).
iEnergy drain per timestep for observation = obsCost × (raycastLength/150) × dt. Higher = longer range costs more HP.
iMultiplier for the agility gene → turn rate (radians per timestep). Higher = quicker turning.

Inspector

Hover over an individual on the canvas to see its genes, status, raycast detections, and network.

Hover over an individual

Behaviour network