Choose a run
Instructions
- Use a mouse or trackpad on a desktop or laptop. Make the browser window wide.
- Each run starts when you click the button in the middle of the display, so the mouse starts at the centre.
- Move the mouse left and right to keep your black cursor between the green target marks. The target jumps once during the run.
- The grey cursor below is the computer partner B, keeping its own cursor on its own target. You cannot move it.
- Do the practice run first if you like, then Trial 1 and Trial 2. You can repeat any run.
Your cursor and B's cursor are both moved by the mouse output times the same factor g. While the total output |mouse.A| + |mouse.B| stays below the capacity C, g = 1. Above C, g = C / total, and both cursors respond less to their own mouse.
Recorded runs
kept only in this tabFit on one trial, predict the other
no data yetFor each description of A's environment, A's controller (Marken's leaky integrator: gain, slowing factor, reference bias, and a transport lag) is fitted to one trial. With those parameters fixed, the same model predicts A's mouse movements in the other trial. Nothing about the environment is fitted: the program defines it.
Pre-set checks
fixed before any dataPrediction error
RMS of mouse.A, model − recordedSimulated subject
Generates both trials with a model in A's place, so the whole analysis can be checked before anyone sits down at the mouse. The simulated subject is Marken's leaky integrator with an optional transport lag and smoothed output noise.
What to expect
In trial 1 the total output stays below C, so g = 1 throughout and every description of the environment is the same. A model fitted there describes trial 1 equally well under all four. Only the shared-capacity description predicts trial 2, where the total crosses C.
In trial 2 the replayed descriptions are built from that same run, so they reproduce it closely. Carried over to trial 1, they mispredict, because the gain or disturbance they replay was produced by the outputs in trial 2.
A simulated subject is a check of the method. It says nothing about how a person behaves.
Environment (computed by the program)
Each output acts only on its own cursor. What the two share is the effectiveness of their outputs, which falls once their combined output exceeds C. mouse.A is the person's mouse position relative to the centre of the display, in screen units (1 unit = the same number of pixels on the display and on the mouse path).
Partner B (computer)
Model of A (fitted)
This is R. S. Marken's leaky integrator. The ordinary version has lag = 0; the lag is an option in the Results tab. One step is 1/60 s.
Runs
The disturbances d.A and d.B are smoothed random signals with fixed seeds, identical in both trials. The two trials differ only in how far A's target jumps at s: a small step keeps the total output below C, a large step takes it above C.
Four descriptions of A's environment
Each description is a candidate for how the person's own output turns into the perceived position of their cursor. A model of A is fitted to the calibration trial under each description in turn.
Pre-set rules
Where a shared supply occurs
- Two showers on one water supply. Each person sets their own water with their own tap. When the other person opens a tap, the pressure drops for both, and each tap delivers less water for the same turn.
- Two power tools on one generator or one long extension lead. When both draw current, the voltage sags and each tool runs slower for the same trigger pressure.
- Two computers on one internet connection. Each controls its own download; when both download at once, each gets less per request.
In each case one person affects the other through a physical effect, here the load on a common supply. C is a compact way to write that effect.
Simulation laboratory
The model-only version, with several controllers, frozen disturbance replay and a robustness report, is the laboratory “Control in Shared Environments” at perceptualcontroltheory.org/lab/shared-capacity/. This page is its experiment with a person in the loop.
Privacy
Single self-contained page. No network requests (enforced by a Content-Security-Policy with connect-src 'none'), no cookies, no storage. Recorded runs stay in this tab until you download them; loading a CSV reads it locally. Built with the help of an AI coding assistant (Claude, Anthropic).