EXPERIMENT 003 / HUMAN vs FLY
Neural codeSwat the Fly.
You brought a swatter. She brought 138,639 neurons.
You swing. The brain supplies the escape reflex.
See the neural code A scent response sets the pace. Each swing sends a shadow signal; the fly’s neural response sets how far it dodges.
NEURAL WIRING / OPEN THE BLACK BOX
CONNECTED TO THE PROJECT ABOVEThe reflex, in code.
A scent response sets the pace. Each swing sends a shadow signal; the fly’s neural response sets how far it dodges.
01 / foodYou start the dueldrive.walk → roaming pace
02 / loomYou swing the swatterdrive.escape → dodge strength
03 / LOCAL ANIMATIONThe dodge plays outreflex × proximity × 165
The fly’s side of the conversation
REQUEST EXAMPLE / NOT SENT YET01 / SEND THE STIMULUSJAVASCRIPT · REQUEST BODY EXAMPLE
const response = await fetch("/api/v1/run?view=drive", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "stimulus": "loom", "intensity": 1, "duration_ms": 100, "seed": 42 })});const brain = await response.json();02 / READ THE NEURAL RESPONSEACTUAL VALUES · RELEVANT FIELDS
// Play the project above.// Its actual response appears here.brain.channels // neural activity, Hzbrain.drive // movement controls, 0–103 / MAKE THE RESPONSE MATTER
A neural signal becomes a move.
The brain supplies escape strength. The game multiplies it by how close your swing lands, chooses the direction away from your aim and keeps the fly inside the arena.
RESPONSE → SCENETHE PROJECT’S MAPPING
const escape = clamp(brain.drive.escape, 0, 1);const proximity = clamp(1 - distanceFromAim / 320, 0, 1);const dodgeDistance = escape * proximity * 165;Mute the reflex. Watch what changes.
Turn Reflex signal to 0 and swing. The model returns zero escape drive, so dodge distance is exactly zero. The fly can still roam between swings using the earlier food response.