Instar
Adult Drosophila · Janelia MaleCNS v1.0 · Solana
The paper · the full technical account

A cage of flies,
each driven by a complete
nervous system wiring diagram.

Instar is a persistent world of adult male Drosophila melanogaster in a lab cage. Every fly runs every neuron of the MaleCNS connectome, and every connection of five or more synapses: neurons, connections, from one male fly's brain, optic lobes and nerve cord reconstructed by Janelia FlyEM. It smells, sees, walks, flies and feeds on its own, and breeds when its energy and neurosecretory rate allow and another fly is within reach. Each one is an NFT on Solana, in the Instar collection: buying mints it into your wallet, resale moves it, death burns it.

Census neurons, connections of ≥ 5 synapses
Engine integer, deterministic, ticks/s, epoch ticks
Cage × floor cells, flight layers, food dishes
Chain no world reachable from this page
This page draws the world from its live stream and reads its journal
Figure 1 · the cage, live cluster tick epoch alive flying booting
drag to orbit · click a fly to read it
The cage as the world streams it, ten times a second, drawn here as a glass box on a bench: a ruled floor, four panes and a lid, raised dishes of yeast paste and banana, a water pool, a salt crust in the dry corner, and the lamp the cage lives under, which dims with the world's night. Each fly is an articulated adult: red compound eyes, arista, a striped abdomen, six jointed legs stepping to the engine's leg phases, two veined wings that beat at the engine's wingbeat phase when the fly is in flight, halteres, and a proboscis that extends as far as the engine says. Flies walk on the floor, the walls and the lid, and fly with a bank that follows their turn. Nothing here is recorded video; every position is the world's, interpolated between two of its frames.
1What is real

What the connectome gives, and what it does not.

The wiring is real. The dynamics are ours. Every claim on this page is meant to survive that sentence.

Berg and colleagues at Janelia reconstructed the complete central nervous system of one adult male fly from electron microscopy: the brain, both optic lobes and the ventral nerve cord, through an intact neck. That dataset, MaleCNS v1.0, is the nervous system of every animal in this cage: every neuron of the MaleCNS connectome, and every connection of five or more synapses between neurons proofread at both ends. The engine loads its nodes and weighted edges verbatim from the canonical file below, whose Merkle root is quoted in section 6. Connections of fewer than five synapses are not loaded; the file is not the whole wiring, and this page never calls it that.1

The dataset does not give neuron dynamics, muscles, or a body. So the engine supplies the same integer threshold unit for every neuron (a potential, a refractory counter, a fired flag), assigns roles to of the neurons from Janelia's own annotations (which sensory neurons are olfactory, gustatory, mechanosensory, photoreceptors; which motor neurons drive which leg, the wing power and steering muscles, the halteres, the neck, the proboscis; which neurons descend from the brain to the cord, which ascend, which are neurosecretory), and treats the rest of the body as a few equations: legs, wings, halteres, proboscis. A fly here is driven by the real connectome. It is not a real fly, and it does not behave exactly like one.2

What the wiring does do is measurable, and it is measured, not asserted. The figure below is filled from probe runs over the checked-in engine; each number carries the horizon it was measured over.3

1The canonical census is regenerated from Janelia's published connection weights and body annotations by a converter in this repository and is byte-verifiable; the numbers of neurons and connections in the abstract are read from the world's copy of it, not typed in.
2No claim of a biological simulation is made. The words used here are “driven by”. Where a behaviour is described (takeoff, feeding, breeding) it names the engine rule, not a property of the animal.
3Every quoted number is produced by a script in scripts/ and stated with its tick horizon. If this figure is hidden, the measurements file has not been generated for this build and no number is shown in its place.
2The brain

neurons, watched by role.

Too many cells for one dot each on a screen, so the brain is shown two ways. The bars are the neurons that fired at the world's last tick, by role group, as a share of the group. The raster below them samples every th neuron in canonical order, one dot per sampled neuron, drawn when it fired; it is read from the world four times a second for the fly named in the caption. Click a fly in figure 1 to watch that one.

Figure 2
3The cage

A glass box with weather.

The floor is × cells; above it are layers of air for flight, and four walls and a lid a fly can walk on. On the floor stand raised dishes of yeast paste and banana, a water pool, and a salt crust in the driest corner; a lamp hangs from the lid and lights the cage in a cone. Light follows a day of 16,384 ticks; temperature drifts around the cage-centre value the thermosensory neurons compare against, with a gradient across the floor, hot on the lamp's side; humidity falls from the pool to the salt corner. All of it is a pure function of the tick and the seed, so it is the same in every mirror.

SenseWhat the engine writes into it
olfactoryodour from the food as a two-dimensional field on the floor (a chamfer decay of 7/8 per cell, refreshed every 8 ticks), read thinner with height and gone at the lid
gustatory, leg tastethe substrate under the tarsi and the proboscis
Johnston's organthe fly's own airflow in flight, and neighbours' wingbeats within a radius
bristle, chordotonalcontact, and the fly's own leg motion
thermo, hygrothe temperature and humidity gradients at the fly
photoreceptors R1–6, R7/8, ocellara coarse 8×2 luminance sample of the light field ahead of each eye, the lamp's colour, and light from overhead
haltere sensorythe body's angular velocity
interoceptivehow full the crop is

What kills a fly.

CauseRuleThis page has seen
starvedenergy reaches zero; a fly whose proboscis motor neurons stay silent on food cannot eat0
senescenceenergy runs out past 32,768 ticks of age, when upkeep climbs by one per 256 further ticks; there is no age limit0
killeda contest with a neighbour0
desiccatedtoo long in the dry corner0
drownedtoo long in the water0
exhaustedflight with no energy left: the fly falls0
culledthe keeper asked; settled on chain at 85% to the keeper0
4The market

Where the lamports go.

Money lives as lamports on the world account, a program-derived address on Solana. Four pools are tracked inside it: each fly's vault, the metabolism that sets how many animals the cage supports, the pool that pays living animals, and credits owed to people. The program keeps one invariant on every instruction: the account's balance above rent covers all four.

FlowVaultMetabolismPoolOther
buy a newborn60%15%15%10% to the parent's vault (to pool if the parent is not owned)
resale5%5%90% credited to the seller; the vault travels with the animal
death35%15%40% split equally among living heirs (dust to pool); 10% credited to the keeper (to metabolism if none)
cull15%85% credited to the keeper
Live
metabolism
pool
capacity
alive on chain
operator balance
settlement
Newborns offered

Buying, listing and withdrawing happen on the cage page, where you have an account.

5The record

What is written on chain.

Each fly is a Creature account: id, parent, generation, birth tick, genome hash, keeper, vault, price, status. It is never closed. Every ticks the operator posts the engine's state hash to the World account. This page does not run the engine: it draws the world from its stream and reads its journal. Verification is done by the CLI verifier, scripts/verify-epoch.mts, which replays the world from its snapshot at native speed and compares the hash with the World account; when the operator posts its result to the journal, the line below reports it. The cage page can also run the same replay in your browser, on a desktop, on request.

cluster
program
world account
operator
seed
verifier
source commit running
engine sha-256
Latest epochs
EpochTickState hashVerifierSignature
Latest transactions
WhenKindIdSignature
6Licence and citation

Whose work this stands on.

Berg, S., Beckett, I.R., Costa, M., Schlegel, P., Januszewski, M., Marin, E.C., Nern, A., Preibisch, S., Qiu, W., Takemura, S.-y., and the FlyEM and Jefferis groups (2026). Sexual dimorphism in the complete connectome of the Drosophila male central nervous system. Cell; preprint doi:10.1101/2025.10.09.680999. Data: Janelia FlyEM, MaleCNS v1.0 (janelia.org), used under CC BY 4.0. The census file used here is a conversion of the published connection-weight and body-annotation tables, thresholded at five synapses and restricted to neurons proofread at both ends; it is not a redistribution of the originals, and the changes are stated in the file's provenance.

census id
census root (sha-256 Merkle)
typeInstrument Serif and IBM Plex Mono, SIL Open Font License 1.1, served from this site
rendererthree.js, MIT, vendored