Chapter 9 · Section 3
Measuring the Device
The BPT law
BPT does not state this; it is a game method.
The established physics
None: a game method. It is the same idea as adaptive load control in real-time rendering, and the game already uses it in one place: the ring search, which times itself and grows by 15 % when a step takes under 4 ms and shrinks by 20 % over 8 ms (Chapter 3).
The game's math
Each system that does heavy work times its own step, t milliseconds for its current size n, and knows how its cost grows with n. Its ceiling V is the size that would just fill its share of the frame, the target τ:
| Cost grows as | Examples | Ceiling |
|---|---|---|
| n (one pass over the things) | bodies under mesh gravity, points, proto wells, ring sources | V = n · τ / t |
| side² (one pass over a square) | the grid, the gravity mesh | V_side = side · √(τ / t) |
| fixed by the screen | how many dots the eye can tell apart | V = field pixels ÷ pixels per thing |
For the screen, a Proto Well needs about 6 pixels across, core and ring, to read as its own well, so about 36 pixels of area: a phone's field of about 390 × 390 = 152,000 pixels gives V ≈ 4,000, and a desktop's of about 1,000,000 gives V ≈ 28,000.
V is smoothed so one slow frame does not swing it: each new measurement moves V a fraction of the way toward the new value. It starts from the device's own first measured step, not from its kind, so a strong phone and a weak desktop each find their own.
The targets are the one design choice the measurements need, proposed (30 October 2026) and to be confirmed:
- the drawn frame: 33 ms (30 frames a second);
- a physics flip: 1 s on a desktop, 2 s on a phone.
The method, in plain steps:
proposed (built in the 8.4 trials, in capacity.js):
each heavy part times its own step and knows how its cost grows with its size
V ← the size that would just fill its share of the target (33 ms a frame; 1 s a flip, 2 s on a phone)
in the live 8.4 this does not run (capacity.js is not loaded); the device is still judged by its kind:
the model level 6 or 4, the body budget 8,000 to 16,000, the mesh 64 to 256
The code:
// public/game-v8.4/app.js:4281 MODEL_LEVEL
function MODEL_LEVEL() { return isPhone() ? 4 : 6; }
// public/game-v8.4/app.js:1169 meshB()
function meshB() {
const mobile = isPhone();
const mem = navigator.deviceMemory || 4, cores = navigator.hardwareConcurrency || 4;
const meshN = mobile ? 64 : (cores >= 12 && mem >= 8 ? 256 : 128);
let b = 1; while (rows / b > meshN && b < 64) b *= 2;
return b;
}
// public/game-v8.4/app.js:1176 matterBudget()
function matterBudget() {
const mobile = isPhone();
/* 8.3 (2026-10-27): the author's desktop ran 1.3 s of physics a flip at 8 frames a second with 30,000 bodies; the bodies are the
physics' cost, and the galaxies are drawn by their type, so the budget is 16,000 at most, 8,000 on a phone */
if (mobile) return 8000;
const mem = Math.min(8, navigator.deviceMemory || 4), cores = Math.min(16, navigator.hardwareConcurrency || 4);
return Math.round(Math.max(8000, Math.min(16000, 2000 * mem * Math.min(1, cores / 8) + 2000)));
}
The scale model
V sets only what the device runs. The universe it stands for is the same on every device: a phone and a desktop running the same universe draw different numbers of things, each standing for a different share, and every total agrees. The weighted totals agree by construction: the wells each drawn well stands for (wellMult, Part 9.1), the matter's mass and the light are ledgers, and a ledger closes on any device. What the dynamics give is not a ledger: collapse times, merger rates and the shape of the web can change with the model field, the gravity mesh and the number of interacting bodies, and must be shown to converge as V grows with the seeds held fixed. That test is listed in Part 9.10.
Fixed numbers
| Number | Where | What it is | Kind |
|---|---|---|---|
| 33 ms | target | 30 frames a second | METHOD (proposed) |
| 1 s, 2 s | target | a physics flip, desktop and phone | METHOD (proposed) |
| 36 px | screen | the area one Proto Well needs to be seen as one | DISPLAY |