Does better food win?

Watch local discoveries become collective behavior.

BEE-003Apis mellifera · Abstract modelCollective intelligenceColony-scale behavior emerges from individuals with limited information and local interactions. There is no central controller directing bees in this model.How to read itYou can see sources A and B at once. A bee uses only its own encounters, memories and nearby dances.Describes the BEE model; not a field measurement.3 sources checked · 21 September 2026

Waking the colony…

Sources, with their limits

Sources checked on 21 September 2026. These three studies motivate mechanisms and limitations; they are not a complete literature review or a calibration of BEE.

LEARNING GUIDE

From one bee to a colony.

Understand the terms, try an experiment and explain what you observe.

Back to the laboratory
  1. 01

    An individual discovers.

    A scout encounters a source nearby and stores its location and quality in private memory.

  2. 02

    A local message travels.

    A successful return can lead to a dance. A nearby observer may follow an estimate of the source.

  3. 03

    A pattern emerges.

    Repeated visits and local recruitment shape allocation. Colony metrics are readouts for you; bees cannot use them.

Model boundaryThese steps explain BEE’s rules. Distances, food and time are model units; the results are not field measurements. Use Field notes for biological sources and assumptions.

BEE-003 · TRY IT

Between food sources

  1. 1

    Nearer or richer?

    Choose your prediction in the experiment panel. A is nearer and B has higher quality. Quality increases reward while distance discounts dance utility; consider your reasoning before running.

  2. 2

    Read the measures together

    Run and pause at a tick you choose. Inspect allocation, food collected and food intake rate together. Remember that A/B percentages include only source-directed trips.

  3. 3

    Examine your expectation

    Compare your prediction with what you observed. Run other seeds with the same settings to the same tick count. B’s higher quality does not guarantee a larger share in every run.

PAUSE & THINK

Check your understanding

Resource allocation shows B at 70%. What does that mean?

This question checks the model’s rules. Your experimental prediction is separate; compare it with the run you observe.

KEEP AT HANDTerm glossaryPlain definitions, model units and reading examples.

27 of 27 terms

Collective intelligence

Colony-scale behavior emerges from individuals with limited information and local interactions. There is no central controller directing bees in this model.

You can see sources A and B at once. A bee uses only its own encounters, memories and nearby dances.

Dance recruitment

After a successful return, a bee may dance. A nearby bee can observe it and probabilistically follow the reported source; information does not reach the entire colony at once.

When disabled, new dances and dance encounters stop. Previously learned sources may remain in memory; uninformed foragers wait.

Scout proportion

The initial share of bees able to search independently. Scouts also collect food and can follow dances. Roles do not change during a run in this version.

18% of 160 bees rounds to 29 scouts. Changing the proportion starts a fresh run with the same seed.

Communication noise

The size of bounded errors added to the direction and distance learned from a dance. It also affects acceptance through the dance’s confidence value.

0% removes added location error; it does not guarantee acceptance. 100% does not mean that 100% of messages are lost.

Seed · random seed

An integer that initializes the bees’ random choice sequences. The same seed, initial settings and interventions at the same ticks reproduce a run in the same model version and runtime.

You can repeat a run with 518394. Trying other seeds explores how much the result depends on a single random starting point.

Tick and model time

A tick is one simulation step. 1 tick = 0.1 model seconds; 600 ticks = 1 model minute. The clock displays progress within the model.

Step advances exactly 1 tick. 20× playback computes more steps; it does not change bee rules or the duration of a tick.

Food collected

The cumulative sum of delivered cargo × quality at collection, counted since the start of the run. It is a model reward unit, not grams or actual honey yield.

Delivering 1 unit of cargo from a source with quality 0.95 adds 0.95 to the total. Cargo still in flight has not been counted yet.

Food intake rate

The delivery rate over the trailing 60 model seconds, expressed per model minute. During the first 60 seconds, the denominator uses only the elapsed time.

The total can rise while this rate falls: fewer deliveries arrived in the latest minute. The chart shows about 600 model seconds of history; each point still uses a 60-second window.

First discovery

The model time when any bee first detects an active, stocked source within its local sensing range.

“—” means no discovery yet. The first source found need not be the richest source or the first food delivered.

Active scouts

The number of bees with the scout role that are not resting, dancing or observing a dance.

Scouts collecting at a source or returning to the hive also count. This is not just the number searching for new sources.

Recruited foragers

The current number of bees outside hive activities whose last recruitment flag remains set. Scouts that followed a dance can also be included.

This is not a cumulative counter of recruitment events. The same bee may accept several dances during a run.

Resource allocation

The share assigned to A or B among bees flying to a source, collecting or returning with a source target. Searching and hive activities are excluded from the denominator.

With 3 bees directed to A and 7 to B, B shows 70%. This does not mean 70% of the whole colony is at B. With no source-directed trips, both bars show 0%.

Source quality

A model coefficient multiplying the reward value of collected cargo. It differs from remaining food stock; bees learn quality through a local visit or a dance report.

Default source A has quality 0.46; B has 0.95. B is farther away; higher quality alone does not guarantee the outcome.

Private knowledge

A source location and quality estimate learned through a bee’s own visit or an accepted dance. Every record has an expiration tick.

Removing source B does not instantly erase memories. A failed visit can invalidate a bee’s record, or it can expire; the default lifetime is 140 model seconds.

Energy proxy

An abstract indicator from 0 to 100 that falls during flight and rises at rest. It does not constrain flight or decisions in this version.

20% is not a measured biological energy reserve. It cannot establish starvation, lifespan or metabolism.

Dance direction

The direction from the hive to the advertised source, shown in degrees clockwise from east. A sun compass is not modeled.

0° points right and 90° points down. Communication noise may be added to the direction learned by a follower.

Model distance

The straight-line distance between the hive and the remembered source. “u” is an abstract distance unit, not a conversion to meters.

At equal quality, a farther source receives a larger travel discount in the dance utility calculation.

Duration code

An educational time code calculated as advertised distance ÷ 250. It is not the length of time the dance remains available.

A distance of 250 u gives a 1-model-second code. This conversion is not calibrated from real waggle dances.

Utility

The bee’s own reward discounted by round-trip distance: reward ÷ (1 + 0.003 × distance). It affects the probability of dancing and the dance’s lifetime.

High quality raises utility while longer distance lowers it. It is neither net energy nor a source score shared by the colony.

Signal time remaining

The model time left before a dance report expires. An expired dance cannot recruit new followers.

An old dance can remain briefly after a source is removed. Duration code encodes distance; time remaining describes how much longer the report is available.

Control colony

A comparison colony with the same seed, initial environment, population and tick count, with dance recruitment disabled. Source and noise interventions apply to both colonies.

Results appear as experimental / control. Behavioral differences can change how random choices are consumed; one paired run does not estimate a general biological effect.

Intervention

A change during a run: toggling dance, changing noise or removing and restoring source B. It is recorded with the number of completed ticks.

An intervention at tick 100 applies before step 101 is computed. Changing seed, scout proportion or population instead starts a fresh run.

Run and replay

A run is an experiment with specific initial settings. A JSON export stores settings, versions, tick count and ordered interventions.

Import does not trust saved metric values: it recomputes from the start and pauses at the recorded tick. Unsupported or invalid files are rejected.

Landscape view

An observer map of the hive, sources and bee positions in model space. Bee decision rules cannot access this map.

Seeing A and B from the start does not mean the bees know them. Select a bee to inspect which records it actually holds.

Dance floor

A magnified view focused on dancers and observers in the hive. Each dance is an expiring signal that only nearby bees can encounter.

Inspect a dancing bee: direction, distance, duration code and utility are generated from its own experience.

Communication view

Links show recently accepted dance reports between bees. Bees on the outer ring are a schematic projection of those outside the hive.

Links extend back at most 300 ticks (30 model seconds); the journal limit can shorten this in busy runs. This is not the complete communication history.

Signals and performance

An observer layer showing signal details and application performance. FPS is frames rendered per second; ms is real computation time.

Paired tick timing includes both experimental and control calculations. FPS and computation time do not measure model time or colony success.

What has been measured

Five seeds, dance on and off, 6,000 ticks each. Recorded headless output, not a field survey.

These numbers are not real-hive measurements. They are recorded output from headless model runs: the same seed reproduces in the same model and runtime. Durations are one machine’s wall-clock reading and differ elsewhere; they are not a result.

Seed-pinned output · Durations depend on the machine; seeded model results are reproducible. · v22.23.1

Food, allocation and recruitment per seed. Model units, not grams or field counts.
SeedDanceFoodAllocation A / BRecruitmentsFirst discovery (tick)Elapsed (this machine)
518394On1888.044 / 54496111201.4 ms
518394Off434.87 / 10011146.7 ms
718923On1972.120 / 6537677178.2 ms
718923Off349.78 / 1107735.1 ms
42On1815.147 / 56534107162.1 ms
42Off419.03 / 12010734.3 ms
104On2049.916 / 7636072180.7 ms
104Off362.47 / 1107235.1 ms
2026On2122.429 / 6234394174.7 ms
2026Off412.212 / 709434.9 ms

Model versions: simulationVersion 0.1.0 · behaviorVersion 0.1.0 · worldVersion 0.1.0 · metricVersion 0.1.0 · experimentVersion 0.1.0

What comes next, and what it will not assume

The current slice covers foraging and recruitment. These three modules are named and bounded before any are built.

BEE-005 to BEE-007 reuse existing removal, noise and scout-ratio controls; their dedicated lessons and repeated-seed studies are pending. A sandbox that edits world geometry waits until the guided experiments stay interpretable, and thermoregulation needs its own field, sensors and energy assumptions rather than an animated overlay.

BEE and ANT, side by side

LaboratoryMechanism modelledSignal between individuals
BEEForaging and recruitment around a fixed nest. Apis mellifera inspired.Waggle dance, observed by nearby bees, plus each bee’s private memory.
ANTCoordination through environmental traces, as a separate colony model.Traces left in the environment and read back by others.

Same two-paper family, different mechanism. Their numbers come from different models, units and rules, so they are not directly comparable; compare the mechanisms and assumptions, not the values. Opening ANT does not transfer a BEE run — export JSON to keep one.

BEE in the learning system

Explore collective intelligence through four reproducible experiments. SWI supplies the research context; BEE explores private memory and local dance signals, while ANT explores environmental traces. Compare mechanisms and assumptions across the two labs, not their numerical scores.

These links connect learning resources. Runs stay in BEE; opening another app does not transfer your experiment. Export JSON to preserve a run.

Will a farther, richer source attract more foragers?

Current applied configuration and tick-stamped interventions define this run; imported runs are recomputed.

Assumptions

Local information and fixed roles

Bees receive local observations, private memory and nearby expiring dance signals. Uninformed foragers wait; scouts search. Colony metrics never drive individual decisions.

Abstract model and paired comparisons

Distance, time and food are model units, not field measurements. A same-seed dance-off control is one paired model run, not a biological effect estimate or a universal advantage.

Evidence & provenance

Bee trajectories and dance signals

Simulated · Verification not applicable

The deterministic worker produces an abstract world. Biological citations motivate concepts; they do not calibrate these numerical outcomes.

Assumptions: Local information and fixed roles, Abstract model and paired comparisons

Allocation, delivery and discovery

Calculated · Verification not applicable

Observer metrics are computed from the simulated world. Allocation includes source-directed trips only. Replay recomputes the run instead of trusting imported totals.

Calculated from: Bee trajectories and dance signals

Assumptions: Local information and fixed roles, Abstract model and paired comparisons

Applied configuration and interventions

User input · Verification not applicable

Seed, population and applied changes define this run. Interventions are tick stamped in replay exports; compare equal tick budgets and multiple seeds.

Assumptions: Local information and fixed roles, Abstract model and paired comparisons

Simulated agents; calculated observer metrics; applied user inputs. Model units and single paired runs are not field evidence.