Edition for PulseCore 8.4: the text of 14 November 2026, kept as it was. Play this version. The live text describes PulseCore 8.7.
Chapter 3
Wells, Sites and Gravity Rings
Binary Pulse Theory says a Null Well forms wherever the data grows denser than the substrate can hold, and that every such well is a door: what falls in returns to the Source, and the information it gathered seeds a new universe one generation on. This chapter follows that story through the game. It brings in BPT Chapter 2 (Part 2.3, the Null Well Formation Condition and the Null Well Progeny Count Law; Part 2.8, merger origins and the Pulse Rhythm), Chapter 3 (Part 3.6, the Data Nova; Part 3.9, Fractal Progeny, Null Well Collapse and the Dimensional Failure Law; Part 3.10, the Return to the Source, the pulsing decay and the Return to Bifurcation; Part 3.13, failed Proto Wells and the gravitational waves of the space layer; Part 3.14, Galaxies: Proto Wells, sites, direct collapse, the Capture of the Data, the Count and the Ascendant Wells), Chapter 6 (Part 6.9, Spin Inheritance) and Chapter 7 (Part 7.5, interference).
The arc in plain words. In the theory, the data the Pulsecore pours out at the Data Nova collapses where it is densest into Proto Wells, the seeds of the dark halos. One collapse in 2^D comes back null and its data goes home. At the Physical Nova the rest become sites, where gas gathers and stars light, and a site's own well is born later, by a whole cloud collapsing at once or by its first dying star. Wells feed on gas and on the Data Matter round them, spin, merge and give part of their mass to the space layer as gravitational waves. At the final well a census reads each well's share of the universe and so the level of the child it will seed. In the decay the wells take in everything that is left, and each one bifurcates as a new UniSphere.
The game makes this happen on its field of cells. It finds the densest places of the drawn data and places a Proto Well at each, gives each a share of the Data Nova's overflow, fails one in 2^D by a deterministic draw, turns the rest into sites, and lets wells be born by the hoop test, by dying stars and at the sites. A gravity grid moves them, a merger rule joins them, a census ranks them, and a tap dives into the universe one of them seeds.
What a player watches: at Harmonic 2 the torus fills with breathing magenta rings, the Proto Wells, and the HUD's well line reads "Proto Wells". At the big bang they go quiet as sites and the line counts the "sites waiting". Galaxies gather round those places. Black spheres with warm orange rings appear at their hearts, some with glowing disks, Seyfert glows and quasar jets. Cyan wave crests run across the skin when wells merge. Well #1 wears a gold hoop and every Ascendant Well carries its tag. When the universe has returned to the Source, the player taps a well and plays its child. Line numbers are for game v8.4, and the code is the ground truth throughout.
Part 3.1: The Life of a Well, an Overview
This Part is plain prose. It ties the later Parts together.
What BPT asks of a well. Three statements of the theory run through the chapter, and the code comments quote each of them.
- The wells come from the data. BPT Part 3.13: "Proto Wells are collapses: they form at the Data Nova where the data is densest, as every Null Well forms where the overflow overwhelms the Zinf point." The comment at
performNovaSequenceapp.js:5308 carries the same rule as a ruling: "THE WELLS COME FROM THE DATA AND NOTHING ELSE (the author, 2026-10-25: 'the wells should be formed from the data and nothing else!')". The same comment says the Progeny Count Law's 2^(L/3) "is never imposed: it is compared with this census at the final well." - A Proto Well is not a well. BPT Part 3.14 (Proto Wells: Where Wells Will Form): "So a Proto Well is not a well. … at the Physical Nova it becomes a site." The comment above
SITE_TVIRapp.js:1386–1400 reads: "PROTO WELLS BECOME SITES (8.3, 2026-10-29) … No Null Well has been seen to form but by collapse." - Ascendant Wells carry the lineage. BPT Part 3.14 defines an Ascendant Well as one at the Ascendant Mass or above, about an eighth of its universe, whose child is as deep as its parent or deeper. The code reads it as a share of at least 1/8.1 (
ASCENDANT_RATIO = 8.1, app.js:946, comment app.js:933–945). Part 3.14 below follows the law into the census.
Kinds. The game keeps five kinds of well, which wellKindOf() app.js:956 reads:
- proto: a Proto Well, one of
dataWellswith an id D1, D2 and so on. It is born in the data layer, at the Data Nova, at a harmonic collapse before the Physical Nova, or at a fold. - site: a former Proto Well, kept in
rings.sourceswithsite = true. It gathers its galaxy but is no well. - heart: a site whose well has been born, by direct collapse, by a remnant star sinking to it, or by a clump collapsing whole.
- stellar: a Stellar Null Well left by a dying star. Its law is in the stars chapter, and this chapter covers only what happens to it as a well.
- collapse and fold: a well born from a collapse of matter (the hoop test) or of a fold in the field after the Physical Nova, or at a harmonic nova after it.
Counts. Three counters keep the tally. wellsSeen counts drawn wells. wellsStand counts the true-level wells they stand for, each drawn Proto Well standing for wellWeight() of them (Part 3.3). wellsFromStars is the share of wellsStand born of dying stars. A site is taken out of both counts when it is made (makeSite() app.js:1417). A failed Proto Well is taken out of wellsStand (failProtoWells() app.js:1357).
Record. Each well has one life record in wellLives (app.js:887), found by any of its ids (D3, then W7). Part 3.5 covers it.
Order of events in one universe, and where the player sees it:
- At the Data Nova (Harmonic 2, banner "Data Nova · the data erupts"), the Formation Condition places the Proto Wells (Parts 3.2 and 3.3) and gives them their mass (Part 3.4). They appear on the torus as magenta rings.
- Before the Physical Nova, Proto Wells take in the data around them (Part 3.11), and folds can add more (Part 3.8).
- At the Physical Nova (Harmonic 3, banner "Physical Nova · the big bang"), one Proto Well in 2^D fails (Part 3.6). The rest become sites (Part 3.7) and leave the screen; the HUD counts them as "sites waiting".
- In the physical life, wells are born by collapse (Part 3.8). They spin (Part 3.9), merge (Part 3.10), take in Data Matter (Part 3.11) and move on the gravity grid (Part 3.12). They are drawn as black spheres in warm rings.
- At the final well a census ranks them and reads the Ascendant Wells (Part 3.14). The player can dive into any well (Part 3.15).
- In the full decay ("⌛ Continue the universe"), matter spirals in (Part 3.13), the census is read again, and the wells evaporate. Evaporation is covered with the decay.
Every well also sends rings into the field, searched by RingField (Part 3.16) and drawn in the 2D view.
The method, in plain steps:
a well's life, in order:
born: at the Data Nova (a Proto Well), at a harmonic, at a fold, or by collapse of matter
Proto Well: a well of data, riding the data's flow, until the Physical Nova
at the Physical Nova: one in sixteen fails and returns home; the rest become sites or wells
lives: takes in data and Data Matter, merges with wells it meets, spins
at the final well: ranked in the census; its share of the matter sets its child's level
in the decay: takes in the last matter, then evaporates in its own glow
The code:
// public/game-v8.4/app.js:893 lifeBorn()
function lifeBorn(key, info) {
const rec = Object.assign({ keys: [key], born: universePulses(), harmonic: novaCount, physicalAt: null, mergers: [], mergedInto: null, end: null, child: null, samples: [] }, info);
rec.samples.push([rec.born, Math.round(info.mass || 1), Math.round(info.r), Math.round(info.c)]);
wellLives.push(rec); wellLifeByKey.set(key, rec);
return rec;
}
// public/game-v8.4/app.js:920 lifeSample()
function lifeSample() {
if (uni && novaCount >= U.PHYSICAL_LAYER) uni.matterMax = Math.max(uni.matterMax || 0, matterTotal());
if (!census) rankWells(); /* once a census has read them, the wells keep its ranks */
const t = universePulses(), add = (key, w) => { const rec = lifeOf(key); if (!rec || rec.mergedInto) return; rec.peak = Math.max(rec.peak || 0, w.mass || 0); rec.samples.push([t, Math.round(w.mass || 1), Math.round(w.r), Math.round(w.c)]); if (rec.samples.length > LIFE_SAMPLES) rec.samples = rec.samples.filter((s, i) => i === 0 || i % 2 === 1 || i === rec.samples.length - 1); };
for (const w of dataWells) add(lifeKey(w, true), w);
if (rings) for (const w of rings.sources) add(lifeKey(w, false), w);
sampleSites();
}
Part 3.2: The Formation Condition at Full Scale: densestPeaks()
The BPT law
BPT Part 2.3 (Null Wells and the Birth of New Universes) states the Null Well Formation Condition: ℜ⌂(x, τ, ℨ) ≥ ℜ⨶(ℨ) = k(ℨ) × ℏ(ℨ) × ↁρ(ℨ). The local recursive tension density ℜ⌂ at a place and time must reach the critical recursion threshold ℜ⨶, which the Data Density ↁρ (data bits processed per unit volume per unit time) sets through the quantum of action. In the book's words, "Null Well formation occurs when local computational complexity exceeds substrate processing capacity": the well is "a protective substrate mechanism, creating localized computational voids that prevent recursive overflow." BPT Part 6.3 gives the formal version, ℜ⌂(x, τ) ≥ ℜρ⨶ = k × ρ_P × 𝒞→², k times the Planck energy density. BPT Part 3.13 applies it to the data layer: Proto Wells "form at the Data Nova where the data is densest, as every Null Well forms where the overflow overwhelms the Zinf point." The game reads "critical density" as the densest the data is: wells go where the data is densest and nowhere else, and how many there are is "the data's own answer" (comment at app.js:1557–1561).
The established physics
Halos collapse at the peaks of the early density field (Bardeen, Bond, Kaiser & Szalay 1986, cited in BPT Part 3.14). The peaks predict where structure forms.
The game's math
densestPeaks() app.js:1562 runs when the field is drawn at its true level (uni.Lm = uni.L).
- The field of
rows × colscells is cut into blocks of B = 8 cells a side. That gives GR = ⌊rows/8⌋ by GC = ⌊cols/8⌋ blocks. Each block counts its pulsing cells: cnt(i, j) = Σ pulserGrid over its 64 cells. - Each count is smoothed over its 3 × 3 neighbors on the torus: sm(i, j) = Σ_{a,b ∈ {−1,0,1}} cnt(i+a, j+b).
- top = max sm. Every block with sm = top exactly is dense. Dense blocks that touch (8-way, on the torus) are joined into one place, as the nova finder joins tied cells.
- Each place's middle is the mean of its blocks, unwrapped around its first block so a place across the seam is not split. The well's position is then refined to the centroid of the pulsing cells in the 3 × 3 blocks (−B to 2B cells) around that middle block (2026-10-27: "wells lined up on the block grid").
- The place's mass is Σ cnt over its blocks, in cells, at least 1.
If the field is too small for 2 × 2 blocks, one well is placed at the center holding every pulsing cell.
Output: a list {r, c, mass}. The count is the number of tied maxima. On a smooth field that is usually one place, or a few.
The method, in plain steps:
cut the field into blocks of 8 × 8 cells and count each block's pulsing cells
smooth each count over its 3 × 3 neighbours (wrapping round the torus)
the densest blocks, all tied at the top, joined where they touch, are the places
each place: its centre is the centroid of the pulsing cells round it; its mass, the cells in it
The code:
// public/game-v8.4/app.js:1562 densestPeaks()
function densestPeaks() {
const B = 8, GR = Math.floor(rows / B), GC = Math.floor(cols / B);
if (GR < 2 || GC < 2) { let n = 0; for (let r = 0; r < rows; r++) for (let c = 0; c < cols; c++) n += pulserGrid[r][c] ? 1 : 0; return n ? [{ r: Math.floor(rows / 2), c: Math.floor(cols / 2), mass: n }] : []; }
const cnt = new Float64Array(GR * GC);
for (let r = 0; r < GR * B; r++) for (let c = 0; c < GC * B; c++) if (pulserGrid[r][c]) cnt[Math.floor(r / B) * GC + Math.floor(c / B)]++;
const sm = new Float64Array(GR * GC);
for (let i = 0; i < GR; i++) for (let j = 0; j < GC; j++) { let t = 0; for (let a = -1; a <= 1; a++) for (let b = -1; b <= 1; b++) t += cnt[((i + a + GR) % GR) * GC + ((j + b + GC) % GC)]; sm[i * GC + j] = t; }
let top = 0; for (const v of sm) if (v > top) top = v;
if (top <= 0) return [];
const seen = new Uint8Array(GR * GC), out = [];
for (let k = 0; k < sm.length; k++) {
if (seen[k] || sm[k] < top) continue;
const stack = [k], blocks = []; seen[k] = 1;
while (stack.length) {
const q = stack.pop(); blocks.push(q);
const qi = Math.floor(q / GC), qj = q % GC;
for (let a = -1; a <= 1; a++) for (let b = -1; b <= 1; b++) {
const n = ((qi + a + GR) % GR) * GC + ((qj + b + GC) % GC);
if (!seen[n] && sm[n] >= top) { seen[n] = 1; stack.push(n); }
}
}
/* the place's middle, unwrapped round its first block so a place across the seam is not split */
const i0 = Math.floor(blocks[0] / GC), j0 = blocks[0] % GC;
let si = 0, sj = 0, mass = 0;
for (const q of blocks) {
let di = Math.floor(q / GC) - i0, dj = (q % GC) - j0;
if (di > GR / 2) di -= GR; if (di < -GR / 2) di += GR; if (dj > GC / 2) dj -= GC; if (dj < -GC / 2) dj += GC;
si += di; sj += dj; mass += cnt[q];
}
const bi = ((Math.round(i0 + si / blocks.length) % GR) + GR) % GR, bj = ((Math.round(j0 + sj / blocks.length) % GC) + GC) % GC;
/* at the true centre of its data, cell by cell, not the middle of a block (2026-10-27: wells lined up on the block grid) */
let wr = 0, wc = 0, wn = 0;
for (let a = -B; a < 2 * B; a++) for (let b = -B; b < 2 * B; b++) { const rr = ((bi * B + a) % rows + rows) % rows, cc = ((bj * B + b) % cols + cols) % cols; if (pulserGrid[rr][cc]) { wr += a; wc += b; wn++; } }
out.push({ r: wn ? ((Math.round(bi * B + wr / wn) % rows) + rows) % rows : bi * B + B / 2, c: wn ? ((Math.round(bj * B + wc / wn) % cols) + cols) % cols : bj * B + B / 2, mass: Math.max(1, mass) }); /* whole cells: the nova's collapse indexes the grid by them */
}
return out;
}
In the game
This runs at the Data Nova of a universe drawn at its own level, which on a desktop means the shallow universes (the field is 4·2^L cells a side, so level 6 or less on a desktop, level 4 or less on a phone; Part 3.3). The banner "Data Nova · the data erupts" comes up at the top of the page with the line "every bit the Pulsecore held bursts onto the lattice at pulse speed · not yet matter: the scaffold of space" (app.js:5277–5279). Where the densest place lies, a Proto Well appears on the torus: a violet core inside a magenta ring with a white-to-magenta glow that breathes about once a second, each at its own phase (setProtoLayer() scene3d.js:1619, pulseProtoWells() scene3d.js:1657). On a phone the mark is drawn 3.4 times its size, on a desktop 2.2 times (PROTO_K, scene3d.js:1514), so a lone Proto Well can be found from across the torus. The HUD label switches from "Wells" to "Proto Wells" (app.js:2146), and the line reads "1 · law 1.00" at level 0, with the law to two decimals. In the drawer's view menu, "2D · the field" shows the same place as the center of the well's rings (Part 3.16).
The scale model
Exact: no scale model. densestPeaks() is used only when the drawn level is the true level, so each place found is one well. When the field is a scale model, densePlaces() is used instead (Part 3.3).
Where the game and the theory differ
- BPT's condition is a threshold: a well forms wherever ℜ⌂ reaches ℜ⨶. The game takes only the global maximum of the smoothed count, so it places wells at the tied densest blocks and none at lesser peaks. The physics it cites, peaks predicting halos, counts every peak above a threshold; the game's version is the single-maximum case of it.
Fixed numbers
| Number | Where | What it is | Kind |
|---|---|---|---|
| 8 | densestPeaks() app.js:1563 |
block side B, in cells | METHOD (counting resolution; the same 8 × 8 block as the matter mesh default and matter.full = 64 cells) |
| 2 | app.js:1564 | least blocks a side before the fallback | METHOD (a 3 × 3 smoothing needs two blocks or more) |
| ½ (rows/2, cols/2) | app.js:1564 | fallback well at the field's center | METHOD (geometry) |
| −1…1 | app.js:1568, 1577 | 3 × 3 smoothing and 8-way joining | METHOD (nearest-neighbor stencil) |
| GR/2, GC/2 | app.js:1588 | unwrap a place across the torus seam | METHOD (torus geometry) |
| −B…2B | app.js:1594 | centroid window, three blocks a side | METHOD (centroid of the data near the place) |
| B/2 | app.js:1595 | block middle when the window holds no data | METHOD (geometry) |
| 1 | app.js:1595 | least mass, one cell | BPT (one Zinf quantum, the pixel, Part 1.8) |
Part 3.3: The Formation Condition in a Scale Model: protoDrawn(), densePlaces(), wellMult
The BPT law
The count of wells a universe forms in its life is the Null Well Progeny Count Law, BPT Part 2.3: N(L) = ℜ_U(L) / ↁℹ∂(V, ℨ) = 2^(L/3). The UniSphere capacity at level L, ℜ_U = 2^L, is a three-bit volume count; the boundary information each well costs, ↁℹ∂, is an area law and scales as ℜ_U^(2/3); the count is what remains, "one spatial third of the capacity." It gives the Zinf universe one child, two from level 3, and 2^(202/3) ≈ 1.86 × 10²⁰ at our level, "against an observed 2 × 10¹⁹ to 10²⁰ stellar-mass Null Wells." The book adds that "spin lowers the area of a well, by half at maximal spin, and so raises the count by at most a factor of two." The code computes this spun law in progenyCount() universe.js:256: N = 2^(L/3) · 2/(1 + √(1 − a_f²)). The comment at universe.js:250–254 calls this "the spin factor the law states in prose: a Kerr well's area is 8πM²(1 + √(1 − a²)), half at maximal spin." How many wells are drawn in a scale model is not a BPT law. BPT does not state this; it is a game method that serves the Progeny Count Law: the drawn wells stand for the law's count, as BPT's "The Count, and the Wells Unseen" (Part 3.14) has the game count its wells "as the sky would."
The established physics
The Kerr horizon area A = 8πM²(1 + √(1 − a²)) in geometric units is standard (Kerr 1963, cited in BPT Chapter 3). The drawn count and its weight are not physics. None: a game method.
The game's math
When the field is drawn at a model level Lm < L, a few thousand drawn wells stand for the true level's count. Three pieces do this.
How many are drawn. protoDrawn(law) app.js:1613 asks the Saturation Law (Part 9.2, saturate() app.js:1610, new in 8.4) how many of the law's wells the field's room can show:
T = max(1, ⌊rows·cols / 4⌋) room for one well per 2 × 2 cells
u = ln(1 + law/T) Fechner: what the eye registers of law wells in a room of T
N = max(1, min(round(law), round(T) − max(1, round(T / (1 + u)))))
A small law is drawn nearly whole; every larger law draws more, and the drawn count approaches the room T without ever filling it. In 8.3 the curve was T·(1 − e^(−law/T)), which reached the whole room in whole wells; 8.4's comment (app.js:1607) records that the new law keeps 8.3's counts where 8.3 was right. An older rule for the drawn count, wellCap() app.js:1601, max(1, min(400, ⌊rows·cols/64⌋)), is still defined; a grep of every game .js file finds only its definition.
Where. densePlaces(k) app.js:1621 finds the k densest places:
- Block side B: 4 normally, 2 if k > rows·cols/64, 1 if k > rows·cols/16. On a field smaller than 16 a side, B = 1.
- Count the pulsing cells per block, then smooth over 3 × 3 neighbors, as in Part 3.2.
- Tie-break. Each block's smoothed count gains a fraction under one, 0.999 · h/2³², where h is an FNV-1a hash of the block's own bits (lit and pulsing) and its index, finished by a murmur-style mix. Equal density is broken by the information the data holds, not by where the block sits (2026-10-27: "all the wells and everything seems to collect on the equatorial lines"). This ordering is
sel. - Take local maxima of
sel(no 8-neighbor higher), densest first, at least two blocks apart (no other taken place in the 3 × 3 around), up to k. - If fewer than k peaks exist, fill with the next densest blocks not yet taken.
- Each place is moved to the centroid of the pulsing cells in its 3 × 3 block window, with mass = sm (the smoothed count), at least 1.
What each stands for. At the Data Nova (app.js:5314–5316):
peaks = densePlaces(protoDrawn(uni.progeny)) if Lm < L
= densestPeaks() otherwise
wellMult = max(1, uni.progeny / peaks.length) if Lm < L, else 1
wellWeight() app.js:1991 returns uni.wellMult (or 1). Each Proto Well registered adds wellWeight() to wellsStand.
Worked case: level 28, desktop, a_f = 0. Lm = 6, so the field is 4·2⁶ = 256 cells a side and rows·cols = 65,536, giving T = 16,384. law = 2^(28/3) = 645.08, u = ln(1 + 645.08/16,384) = 0.03862, and N = 16,384 − round(16,384/1.03862) = 16,384 − 15,775 = 609. If densePlaces finds 609 places, wellMult = 645.08/609 = 1.059. On a phone (Lm = 4, 64 cells a side, T = 1,024): u = 0.4886, N = 1,024 − 688 = 336 and wellMult = 1.920. With spin a_f = 0.998, the law grows by 2/(1 + √(1 − 0.998²)) = 1.881, to 1,213, and a desktop draws 1,093.
Level 202, desktop, a_f = 0. law = 2^(202/3) = 1.859 × 10²⁰, u = 37.07, N = 16,384 − 432 = 15,952, wellMult = 1.166 × 10¹⁶. Each drawn Proto Well stands for about 10¹⁶ wells.
The method, in plain steps:
how many wells to draw: the Saturation Law of the law's count in a room of T = cells / 4
u ← ln(1 + law / T); drawn ← T − round(T / (1 + u)), at most the law itself
where: the k densest blocks, local peaks at least two blocks apart, ties broken by a hash of the data they hold
what each stands for: wellMult ← law / drawn
The code:
// public/game-v8.4/app.js:1610 saturate()
function saturate(x, V) { if (!(x > 0)) return 0; if (!(V > 1)) return 1; const u = Math.log1p(x / V); return Math.max(1, Math.min(Math.round(x), Math.round(V) - Math.max(1, Math.round(V / (1 + u))))); }
// public/game-v8.4/app.js:1613 protoDrawn()
function protoDrawn(law) { const T = Math.max(1, Math.floor((rows * cols) / 4)); return Math.max(1, saturate(Math.max(1, law || 1), T)); }
// public/game-v8.4/app.js:1621 densePlaces()
function densePlaces(k) {
const B = rows >= 16 && cols >= 16 ? (k > (rows * cols) / 16 ? 1 : k > (rows * cols) / 64 ? 2 : 4) : 1, GR = Math.floor(rows / B), GC = Math.floor(cols / B); /* blocks of two cells when more wells are wanted than 4 × 4 blocks have room for (2026-10-29) */
const cnt = new Float64Array(GR * GC), sm = new Float64Array(GR * GC);
for (let r = 0; r < GR * B; r++) for (let c = 0; c < GC * B; c++) if (pulserGrid[r][c]) cnt[Math.floor(r / B) * GC + Math.floor(c / B)]++;
const at = (i, j) => (((i % GR) + GR) % GR) * GC + (((j % GC) + GC) % GC);
for (let i = 0; i < GR; i++) for (let j = 0; j < GC; j++) { let t = 0; for (let a = -1; a <= 1; a++) for (let b = -1; b <= 1; b++) t += cnt[at(i + a, j + b)]; sm[i * GC + j] = t; }
/* ⚠️ WHERE THE DENSITY TIES, THE DATA'S PATTERN DECIDES (8.3, 2026-10-27, the author: "all the wells and everything seems to
collect on the equatorial lines"; measured: at a deep level's Data Nova the data fills every place but the throat's
ring, so every block ties, and the ties went by position, from row 0: the seeds filled in from the outer equator
down). Each block's count gains a fraction under one, a hash of its own bits (lit or not), so equal density is
broken by the information the data holds, not by where the block sits, and the seeds scatter over all of it. */
const sel = new Float64Array(GR * GC);
for (let q = 0; q < sel.length; q++) {
const i0 = Math.floor(q / GC) * B, j0 = (q % GC) * B; let h = 2166136261 ^ q;
for (let r = i0; r < i0 + B; r++) for (let c = j0; c < j0 + B; c++) { h ^= (grid[r][c] ? 1 : 0) | (pulserGrid[r][c] ? 2 : 0); h = Math.imul(h, 16777619); }
h = Math.imul(h ^ (h >>> 15), 2246822507) >>> 0;
sel[q] = sm[q] + 0.999 * (h / 4294967296);
}
const idx = [...sm.keys()].filter(q => sm[q] > 0).sort((x, y) => sel[y] - sel[x]);
const peak = (q) => { const i = Math.floor(q / GC), j = q % GC; for (let a = -1; a <= 1; a++) for (let b = -1; b <= 1; b++) if ((a || b) && sel[at(i + a, j + b)] > sel[q]) return false; return true; };
const taken = [], occ = new Uint8Array(GR * GC), far = (q, d) => { const i = Math.floor(q / GC), j = q % GC; for (let a = -(d - 1); a <= d - 1; a++) for (let b = -(d - 1); b <= d - 1; b++) if (occ[at(i + a, j + b)]) return false; return true; }; /* an occupancy grid: the spacing test was every taken place for every candidate, k² (2026-10-29) */
for (const q of idx) { if (taken.length >= k) break; if (peak(q) && far(q, 2)) { taken.push(q); occ[q] = 1; } }
for (const q of idx) { if (taken.length >= k) break; if (!occ[q]) { taken.push(q); occ[q] = 1; } }
return taken.map(q => {
const bi = Math.floor(q / GC), bj = q % GC;
let wr = 0, wc = 0, wn = 0;
for (let a = -B; a < 2 * B; a++) for (let b = -B; b < 2 * B; b++) { const rr = ((bi * B + a) % rows + rows) % rows, cc = ((bj * B + b) % cols + cols) % cols; if (pulserGrid[rr][cc]) { wr += a; wc += b; wn++; } }
return { r: wn ? ((Math.round(bi * B + wr / wn) % rows) + rows) % rows : bi * B + (B >> 1), c: wn ? ((Math.round(bj * B + wc / wn) % cols) + cols) % cols : bj * B + (B >> 1), mass: Math.max(1, sm[q]) };
});
}
In the game
At the Data Nova of a deep universe (the default level 28 and every level past the drawn one), the torus fills at once with Proto Wells: hundreds on a phone, up to about sixteen thousand on a desktop, each a breathing magenta ring round a violet core, all in one point layer so a thousand cost no more than ten (scene3d.js:1612–1619). They sit at the densest places of the drawn data, not on a grid. The HUD well line, labeled "Proto Wells" between the Data Nova and the Physical Nova, reads in a scale model N counted · n drawn · law X, Y short at level L (or "unseen" once the law passes a million), with counted the true-level count wellsStand and drawn the marks on screen (app.js:2146–2148). Its tooltip says: "Null wells the data has formed so far, and what the Null Well Progeny Count Law expects; the law is compared, never imposed" (index.php:85). The Lineage panel (🪐 Lineage) says the same in a sentence: "Wells formed so far: N (n drawn); the law expects X in its life." The HUD level line adds "drawn at C cells across" when the field is a scale model (app.js:2150). The spin set in the drawer's collision channel raises the law the line shows.
The scale model
Drawn: N ≤ T Proto Wells, placed where the drawn data is densest. Real: uni.progeny wells at level L. One drawn Proto Well stands for wellMult = law ÷ drawn. The weight applies only to Proto Wells (and to wells born at a nova before the Physical Nova, and to fold Proto Wells). A collapse well after the Physical Nova counts as one (Part 3.8). A stellar well counts as starMult.
Where the game and the theory differ
- The comment at app.js:5308–5312 says the Progeny Count Law "is never imposed". In a scale model the number of places asked of
densePlaces()isprotoDrawn(uni.progeny), and wellMult = law ÷ drawn, so the Proto Wells registered at the Data Nova add exactly the law towellsStandwheneverdensePlaces()finds the places it was asked for. At full scale the count is the data's own; in a scale model the law sets the count of Proto Wells and the data sets only where they are. The count read at the final well still differs from the law, because failures, sites and collapse wells change it afterward.
Fixed numbers
| Number | Where | What it is | Kind |
|---|---|---|---|
| 1/4 (rows·cols/4) | protoDrawn() app.js:1607 |
T, the room for drawn wells: 1,024 on a phone, 16,384 on a desktop | CAP (the drawn count saturates at it; a device-set room) |
| 1 | app.js:1607 | floors on T, law and N | METHOD (guards; at least one well drawn) |
| 400, 1/64 | wellCap() app.js:1601 |
old cap on drawn wells | CAP (dead code: never called) |
| 16 | densePlaces() app.js:1622 |
least side for blocks larger than one cell | METHOD (resolution) |
| 1/16, 1/64 | app.js:1622 | when to shrink blocks to 1 or 2 cells | METHOD (resolution: enough blocks for k wells) |
| 4, 2, 1 | app.js:1622 | block side choices | METHOD (resolution) |
| −1…1 | app.js:1626, 1634 | 3 × 3 smoothing and peak test | METHOD (stencil) |
| 2166136261, 16777619 | app.js:1634–1635 | FNV-1a offset basis and prime | METHOD (hash) |
| 1, 2 | app.js:1635 | bit codes for lit and pulsing | METHOD (hash input) |
| 2246822507, 15 | app.js:1636 | murmur-style finalizer | METHOD (hash mixing) |
| 0.999 | app.js:1637 | tie-break fraction, under one | METHOD (breaks ties without passing a real difference of one cell) |
| 2³² (4294967296) | app.js:1637 | hash to [0, 1) | METHOD |
| 2 | far(q, 2) app.js:1642 |
least spacing of peaks, in blocks | METHOD (keeps a peak from sitting next to another) |
| B >> 1 | app.js:1647 | block middle fallback | METHOD (geometry) |
| 1 | app.js:1647 | least mass, one cell | BPT (one Zinf quantum, Part 1.8) |
| 3 (L/3) | progenyCount() universe.js:257 |
the progeny law's exponent | BPT (Null Well Progeny Count Law, Part 2.3) |
| 2, 1 | spinAreaFactor() universe.js:261 |
Kerr area factor 2/(1 + √(1 − a²)) | PHYSICS (Kerr horizon area; Kerr 1963) |
| 1 | wellMult app.js:5316 |
least weight of a drawn well | METHOD (a drawn well stands for at least itself) |
Measured
- "level 15 drew 374 against a law of 45" (comment app.js:5314, 2026-10-27). This was the reason for drawing never more than the law.
- "proto wells 920 and only 64 drawn" (ruling quoted at app.js:1602, 2026-10-29). The room was ⌊rows·cols/16⌋ by mistake (256 on a phone) until that date.
Part 3.4: Well Masses at the Data Nova, and the Null Well Collapse
The BPT law
BPT Part 3.6 (Data Novas and Dimensional Evolution) gives the UniSpheral Data Nova Threshold Law: the nova "occurs when quadratic capacity growth f(r) reaches the containment threshold χ∂, the holographic capacity of the containing skin." The Pulsecore's data grows by Recursive Capacity Growth, f(r) = (2r)² after r Rhythms, its reach two cells across every Rhythm, and the Bifold holds χ∂ = 16 · 4^L Zinf bits at level L (the Bifold Containment Law). BPT Part 3.9 (Fractal Progeny) names the event that follows, Null Well Collapse: "the instantiation of entirely new child Universes through Null Well Collapse events," where accumulated tension "exceeds fundamental substrate capacity." BPT Part 3.13 joins the two: "Proto Wells are collapses: they form at the Data Nova where the data is densest, as every Null Well forms where the overflow overwhelms the Zinf point," and "which data a well holds is its basin, every bit nearest to it." How the overflow is shared among the wells is not stated. BPT does not state this; it is a game method, ruled 2026-10-26: "they should physically probably start out smaller and grow as they accumulate."
The established physics
None: a game method. The comment records why the method was chosen: wells born with their whole peak "flung the new matter about at 7 cells a flip and erased the ripples the web grows from (measured)".
The game's math
At the Data Nova (performNovaSequence, app.js:5323–5328):
nN = max(0, finalFrame − 1) Rhythms to the nova (8.5; 8.4 counted ⌊(finalFrame − 1)/2⌋ Tempos)
over = max(peaks.length, (2·nN)² − 16·4^Lm) dataWithin(nN) − skinCapacity(Lm)
m_i = max(1, round(over · p_i / Σ p)) p_i the peak's mass (Part 3.2 or 3.3)
The overflow beyond the skin's capacity is shared among the peaks by their size. The rest of each peak stays as data around its well and falls in later (Part 3.11). If the nova fires on the very Tempo the skin fills, (nN + 1)² = 16·4^Lm and the overflow is zero. The floor peaks.length then gives each well about one cell. How far past the fill the nova fires sets the rest.
At every nova from the Data Nova on (novaCount ≥ SPACE_LAYER = 2), the Null Well Collapse loop (app.js:5336–5349) empties each well's basin. A well of mass M takes exactly the M pulsing cells nearest its center. It works ring by ring, k = 0, 1, 2, … up to ⌊min(rows, cols)/2⌋, with a cell on ring k when k − 0.5 ≤ √(dr² + dc²) < k + 0.5. Each taken cell is cleared from grid, pulserGrid and exposureGrid and counted in ledger.collapses. The basin is the room that data held (ruling 2026-10-24: "the proper size of their data, not an arbitrary size").
At harmonic novas other than the Data Nova, the well masses are the sizes of the nova finder's clusters, wellMasses = clusters.map(cl => cl.length) (app.js:5285). The nova finder itself belongs to the novas chapter.
The method, in plain steps:
at the Data Nova:
overflow ← (2r)² − χ∂, at least one cell a well
each well's mass ← the overflow shared by the size of its place
at every nova from the Data Nova on (the Null Well Collapse):
a well of mass M takes the M pulsing cells nearest its centre, ring by ring outward,
and those cells are emptied: its basin is the room its data held
The code:
// public/game-v8.5-claude-1/app.js:5631
const nN = Math.max(0, finalFrame - 1), over = Math.max(peaks.length, dataWithin(nN) - skinCapacity(uni.Lm));
let sumP = 0; for (const p of peaks) sumP += p.mass;
wellMasses = peaks.map(p => Math.max(1, Math.round(over * p.mass / Math.max(1, sumP))));
}
// public/game-v8.4/app.js:5340
latestNovaCenters.forEach(([cr0, cc0], wi) => {
let need = Math.max(1, Math.round(wellMasses[wi] || 1));
const reach = Math.floor(Math.min(rows, cols) / 2);
for (let k = 0; k <= reach && need > 0; k++) for (let dr = -k; dr <= k && need > 0; dr++) for (let dc = -k; dc <= k && need > 0; dc++) {
const d = Math.hypot(dr, dc); if (d < k - 0.5 || d >= k + 0.5) continue;
const rr = ((cr0 + dr) % rows + rows) % rows, cc = ((cc0 + dc) % cols + cols) % cols;
if (!pulserGrid[rr][cc]) continue;
ledger.collapses++; grid[rr][cc] = 0; pulserGrid[rr][cc] = 0; exposureGrid[rr][cc] = 0; need--;
}
});
In the game
The player sees this as the Proto Wells being born small. Each new mark's core and glow grow with log₂(1 + mass), so most Proto Wells open as small rings and swell as data falls in (scene3d.js:1638–1640). Round each one, the cells it took go dark: a little hollow in the data skin, the basin it emptied. The "Void" line of the HUD counts the cells taken, N in · M out, where in is the cells folded and collapsed into the void (ledger.folds + ledger.collapses, app.js:2155); its tooltip reads "The void's ledger: cells folded or collapsed into it, strings drawn out of it" (index.php:87). Each later harmonic nova empties new basins the same way. The well's masses are kept in the nova log with each nova (novaLog, app.js:5353).
The scale model
The overflow is computed at the model level Lm, the drawn Pulsecore, not at L. Each drawn well's mass is in drawn cells. The weight wellMult (Part 3.3) carries the count to the true level, not the mass.
Fixed numbers
| Number | Where | What it is | Kind |
|---|---|---|---|
| 1 | 8.5 app.js:5631 | nN = finalFrame − 1, the data's Rhythms (a flip is one Rhythm) | BPT (Pulse Rhythm, Part 2.8; the Pulse Mirror, Part 3.6) |
| 16, 4 | skinCapacity() pinpoint.js:36 |
χ∂ = 16·4^L | BPT (Bifold Containment, Part 3.6) |
| 2, 2 | dataWithin() 8.5 pinpoint.js:43 |
f(r) = (2r)², two cells of reach a Rhythm | BPT (Part 3.6) |
| 1 | app.js:5327 | least mass of a well | BPT (one Zinf quantum, Part 1.8) |
| 1/2 | app.js:5342 | collapse reach, half the field | METHOD (torus geometry: farther is nearer the other way) |
| 0.5 | app.js:5344 | ring width ±½ cell | METHOD (rasterized rings) |
Measured
- "flung the new matter about at 7 cells a flip and erased the ripples the web grows from (measured)" (comment app.js:5323–5326, under the ruling of 2026-10-26).
Part 3.5: Proto Wells and the Life Record: registerWells(), wellLives
The BPT law
BPT Part 3.14 (Proto Wells: Where Wells Will Form): a Proto Well is "formed in the data before the physical layer, it is the deepest place of the Data Matter, the seed of a halo (Part 3.13), and at the Physical Nova it becomes a site: where the gas will gather, where the first stars will light, and where a well will be born." BPT Part 3.13 places it in time: "the data is laid on the scaffold at the Data Nova, the Proto Wells form at its densest places, and only at the Physical Nova does matter condense and fall into a web already there." The harmonics come in order (Part 3.6): Harmonic 1 makes space, Harmonic 2 lays the data, Harmonic 3 makes the physical. The life record is part of BPT's own reading of the game (Part 3.14, The Game's Reading): "Each well's life, its kind, rank, peak mass, share and child's level, and the census, go on the universe's record." How it is kept is a game method (ruling 2026-10-25: "have something that tracks their entire lifetime").
The established physics
None: a game method.
The game's math
registerWells(centers, masses, frame, weight = wellWeight()) app.js:1509:
- It always adds
centers.lengthtowellsSeenandcenters.length · weighttowellsStand, and records each birth time inwellFrames. - Before the Physical Nova (novaCount <
PHYSICAL_LAYER= 3), each center becomes a Proto Well:{id: D<n>, r, c, mass, born, group: 'n<novaCount>', spin: uni.a_f}. It is pushed todataWellsand a life record is opened, with how = "at the Data Nova" (novaCount = 2) or "in a harmonic collapse". It returns no physical ids. - From the Physical Nova on, it calls
addPhysicalWells()app.js:1528. Each center becomes a source inrings(Part 3.16), is scored against the sites (scoreBirth, Part 3.7), and gets a life record, or carries on its Proto record under its new W id.
A Proto Well spins with its universe's a_f from birth. It rides the data flow (the flow chapter).
addPhysicalWells() still holds the old paired-orbit code behind && false (app.js:1542). It never runs. stepOrbits() app.js:1735 runs only on orbits, which is now never filled, so it is dead too. Its constants (ORBIT_FRAMES = 24, ORBIT_TURNS = 1.5, 0.85, app.js:3514 and 1736) are listed below for completeness.
The life record. lifeBorn() app.js:893 opens {keys, born, harmonic, physicalAt, mergers, mergedInto, end, child, samples}. lifeSample() app.js:920 runs every 4 steps in the life (app.js:4588) and in the decay (app.js:2678). It appends [t, mass, r, c] for each living well and updates peak. When the samples pass LIFE_SAMPLES = 48, it thins them to the first, the odd-indexed and the last. lifeMerge() app.js:928 records each merger on both wells. lifeTitle() app.js:899 names a well: "Proto Well 3 → Well #7 · Ascendant", using the census rank (Part 3.14) when there is one. lifeLine() app.js:906 writes the whole life in one line.
The method, in plain steps:
for each new well:
count it (wellsSeen) and what it stands for (wellsStand), and note its birth time
before the Physical Nova → a Proto Well: an id D<n>, its mass, the universe's spin; it rides the data flow
from the Physical Nova on → a physical well, a source of rings
open its life record: born, harmonic, mergers, samples of its mass every 4 steps (48 kept)
The code:
// public/game-v8.4/app.js:1509 registerWells()
function registerWells(centers, masses, frame, weight = wellWeight()) {
wellFrames.push(...centers.map(() => universePulses()));
wellsSeen += centers.length; wellsStand += centers.length * weight;
if (novaCount < U.PHYSICAL_LAYER) {
const group = `n${novaCount}`;
centers.forEach(([r, c], i) => {
const w = { id: `D${dataWellNext++}`, r, c, mass: masses[i] || 1, born: frame, group, spin: uni ? uni.a_f : 0 };
dataWells.push(w);
lifeBorn(lifeKey(w, true), { how: novaCount === U.SPACE_LAYER ? 'at the Data Nova' : 'in a harmonic collapse', proto: true, mass: w.mass, r, c, spin: w.spin });
if (centers.length <= 8) showToast({ kind: 'proto', title: `${wellLabel(w, true)} · ${Math.round(w.mass).toLocaleString()} cells of data, spinning with a_f ${w.spin.toFixed(2)} · it rides the data flow` });
});
if (centers.length > 8) showToast({ kind: 'proto', title: `${centers.length.toLocaleString()} Proto Wells formed, spinning with a_f ${(uni ? uni.a_f : 0).toFixed(2)} · they ride the data flow` });
if (scene) scene.setWells(wellList());
updateHud(); /* counted the moment they form: the readout said 0 until the next step (2026-10-29, the author: "yes fix that") */
return [];
}
return addPhysicalWells(centers, masses, frame);
}
In the game
A Proto Well is born at Harmonic 2 (or at a later harmonic before Harmonic 3, or at a fold) and is drawn as the magenta ring of Parts 3.2 and 3.3. It moves: every step the scene shifts each mark along its step's motion (placeProtos() scene3d.js:1650), so the Proto Wells drift with the data flow round the torus. The notice written for a birth, "Proto Well 3 · 412 cells of data, spinning with a_f 0.00 · it rides the data flow", or for many at once, "609 Proto Wells formed, spinning with a_f 0.00 · they ride the data flow" (app.js:1518–1520), is kept off screen while the game's notices are quiet (QUIET = true, app.js:231); the facts go on the record. The record is what the player reads. The Lineage panel lists "Wells · N lives" (wellsListHTML() app.js:3318), the first 60 by rank, each with its title in bold, "· Proto" if it began as one, and its life line, for example "born at the Data Nova at Harmonic 2, Tempo 37 · physical at Tempo 112 · merged with Well #9 at Tempo 480 · mass 6 → 1,204 · peak 1,310 (2.1% of the universe) · its child at level 21.8, no stars: a dead end" (lifeLine() app.js:906–915). In 3D, the drawer's "Well labels" switch names each drawn physical well on screen: "W7 · near side · u 132°, v 48° · (x, y, z)" (scene3d.js placeWellLabels).
The scale model
Each drawn Proto Well is one record, and stands for wellWeight() true wells in wellsStand. The record keeps drawn masses, in cells.
Fixed numbers
| Number | Where | What it is | Kind |
|---|---|---|---|
| 3 | PHYSICAL_LAYER universe.js:389 |
the Physical Nova is Harmonic 3 | BPT (Data Harmonics: 1 space, 2 data, 3 physical; Part 3.6) |
| 2 | SPACE_LAYER universe.js:398 |
the Data Nova is Harmonic 2 | BPT (Part 3.6) |
| 8 | app.js:1518, 1520 | one toast a well up to 8, else one toast for all | DISPLAY |
| 48 | LIFE_SAMPLES app.js:888 |
samples kept per life | RECORD |
| 4 | app.js:4588, 2672 | steps between life samples | RECORD |
| 60 | wellsListHTML() app.js:3320 |
lives listed in the Lineage panel | RECORD |
| 24, 1.5, 0.85, 2 | app.js:3514, 1736, 1545 | the dead orbit code | METHOD (dead code, never runs) |
Part 3.6: Failed Proto Wells: failProtoWells()
The BPT law
BPT Part 3.9 (Fractal Progeny) gives the Reproductive Outcome Distribution, P▢ = 0.67, P≀ = 0.18, P⑂ = 0.09, P⦰ = 0.06: most collapses seed a viable universe, and in a fraction P⦰ "no child is seeded, and the data returns to the source without continuing back"; "the same law fails Proto Wells before the physical layer." Under "Why One in Sixteen Fails" it derives that share as the Dimensional Failure Law, P⦰ = 2^(−D): "A collapse fails only when every actual dimension of its universe returns null." D is the count of actual, fundamental dimensions, the prime harmonics of its pulse (Part 4.8); for each one "the returning data either carries it, 1, or holds its null, 0: the two states of a pulse, equally weighted and independent." Ours has four, so P⦰ = 1/16; the Zinf, whose harmonics hold the primes 2 and 3 alone, has D = 2 and "loses one collapse in four." BPT Part 3.13 (Failed Proto Wells) follows the data: "A Proto Well that fails never reaches the physical layer. Its data does not stay on the scaffold to become Data Matter, and it is not sent out as matter at the big bang: it goes home along the Data Loop before the Physical Nova." That sets the Data Matter Count with Failed Proto Wells, N◍ / N_b = (1 − P⦰) · 16 · 4^L / ((13/3)² · 4^L − 16 · 4^L).
The established physics
None: a BPT law. Each dimension returns 1 or 0 with equal weight, independently, so the all-null return has probability 2^(−D).
The game's math
failProtoWells(frame) app.js:1357 runs first thing in promoteDataWells() app.js:1378, at the Physical Nova.
D = actualDimensions(L) = 2 if L ≤ 0, 3 if L = 1, else 4 app.js:1329
P = 2^(−D)
For each Proto Well i, a 32-bit hash h(i, frame) is mixed from i + 1 and frame + 7. The well fails if h/2³² < P. The draw is deterministic: the same universe at the same frame fails the same wells.
Each pulsing cell of the field goes to its nearest Proto Well (wrapped distance, squared), BPT's basin, "every bit nearest to it." Cells whose nearest well failed are cleared: their data "went home to the Source and will be neither dark matter nor matter." Each failed well's record ends. wellsStand loses gone · wellWeight(). The ledger keeps failedWells and failedReturn (cells returned).
Worked case: at level 28, D = 4 and P = 1/16. Of 609 drawn Proto Wells about 38 fail, each standing for 1.059 true wells.
The method, in plain steps:
at the Physical Nova:
D ← 2 at level 0, 3 at level 1, else 4; chance of failing P ← 2^(−D)
each Proto Well fails if a hash of (its index, the frame) / 2³² < P
every pulsing cell goes to its nearest Proto Well;
the cells of a failed one are emptied: they return home to the Source
The code:
// public/game-v8.4/app.js:1329 actualDimensions()
function actualDimensions(L) { return L <= 0 ? 2 : L === 1 ? 3 : 4; } /* level 1 reaches Harmonic 6: primes 2, 3, 5, D = 3; the prime 7 sounds from level 2 (book Part 4.8) */
// public/game-v8.4/app.js:1357 failProtoWells()
function failProtoWells(frame) {
if (!dataWells.length || !uni) return 0;
const P = Math.pow(2, -actualDimensions(uni.L)), fail = new Set();
dataWells.forEach((w, i) => { let h = Math.imul((i + 1) ^ 0x2545f491, 2654435761) ^ Math.imul(frame + 7, 2246822507); h = Math.imul(h ^ (h >>> 15), 2246822507) >>> 0; h = Math.imul(h ^ (h >>> 13), 3266489909) >>> 0; if (h / 4294967296 < P) fail.add(i); });
if (!fail.size) return 0;
const wd = (a, b, n) => { const d = Math.abs(a - b) % n; return Math.min(d, n - d); };
let returned = 0;
for (let r = 0; r < rows; r++) for (let c = 0; c < cols; c++) {
if (!pulserGrid[r][c]) continue;
let best = -1, bd = Infinity;
for (let k = 0; k < dataWells.length; k++) { const w = dataWells[k], d = wd(r, w.r, rows) ** 2 + wd(c, w.c, cols) ** 2; if (d < bd) { bd = d; best = k; } }
if (fail.has(best)) { pulserGrid[r][c] = 0; grid[r][c] = 0; exposureGrid[r][c] = 0; returned++; }
}
const gone = dataWells.filter((_, i) => fail.has(i));
for (const w of gone) { const rec = lifeOf(lifeKey(w, true)); if (rec) { rec.how = (rec.how || '') + ' · failed before the physical: its data returned to the Source'; rec.end = universePulses(); } }
dataWells = dataWells.filter((_, i) => !fail.has(i));
wellsStand = Math.max(0, wellsStand - gone.length * wellWeight()); /* a failed well seeds no child */
ledger.failedWells = (ledger.failedWells || 0) + gone.length; ledger.failedReturn = (ledger.failedReturn || 0) + returned;
showToast({ kind: 'pinpoint', head: 'failed Proto Wells', title: `${gone.length} of ${gone.length + dataWells.length} Proto Wells failed (one in ${Math.round(1 / P)}: every dimension of theirs returned null) · ${returned.toLocaleString()} cells of their data went home to the Source and will be neither dark matter nor matter` });
return gone.length;
}
In the game
It happens at Harmonic 3, the moment the banner "Physical Nova · the big bang" comes up. On the torus about one magenta ring in sixteen goes out together with the patch of data skin round it, its whole basin, so dark gaps open in the scaffold just as the rest of the data condenses into matter. The notice the code writes, "38 of 609 Proto Wells failed (one in 16: every dimension of theirs returned null) · 2,315 cells of their data went home to the Source and will be neither dark matter nor matter" (app.js:1375), is held while notices are quiet; the counts go on the universe's record (failedWells, failedReturn) and the failed wells' life lines end there. The HUD's counted wells drop by the failed share.
The scale model
The failure share is exact. The drawn count of failures is a sample of P · N. The cells returned are drawn cells.
Where the game and the theory differ
Since 4 November 2026 the theory decides a Proto Well's fate by its size (the author's ruling; Binary Pulse Theory Part 3.13): a Proto Well survives only if its basin holds enough data to collapse in the physical, and the smaller ones fail. Version 8.4 still draws a flat 2^(−D) by hash, whatever the well's size, so in 8.4 the failed share of the data equals the failed share of the wells on average, about 1/16. Version 8.5 replaces the hash with the basin-size threshold and records the failed share of the data beside the failed count; the sky's dark-matter ratio asks for a data share of about 0.069 (Part 9.6, "Next: version 8.5").
Fixed numbers
| Number | Where | What it is | Kind |
|---|---|---|---|
| 2 (base), −D | app.js:1359 | P = 2^(−D) | BPT (Dimensional Failure Law, Part 3.9) |
| 2, 3, 4 | actualDimensions() app.js:1329 |
D by level | BPT (Prime Harmonics, Part 4.8: level 1 holds primes 2, 3, 5; the prime 7 from level 2) |
| 0x2545f491, 2654435761, 7, 2246822507, 3266489909, 15, 13 | app.js:1360 | hash constants | METHOD (deterministic draw) |
| 2³² | app.js:1360 | hash to [0, 1) | METHOD |
Part 3.7: Proto Wells Become Sites, and How a Site Fills
The BPT law
BPT Part 3.14 (Proto Wells: Where Wells Will Form) opens from observation: "No black hole has ever been seen to form except by collapse … So a Proto Well is not a well." At the Physical Nova a Proto Well "becomes a site: where the gas will gather, where the first stars will light, and where a well will be born. It is the data's prediction of where the wells of matter will form." A well is born at a site in one of two ways.
- By direct collapse, early. A site makes its well at once when three things hold together: it is deep enough that infalling gas reaches T_vir ≥ 10⁴ K, "a circular speed of about 17 km/s"; its gas is pristine, "its metals below about 10⁻⁵ of the Sun's"; and "a neighbour already shines." The gas then holds near 8,000 K at the Sound Speed of Warm Gas, c_s = √(k_B · T / (μ · m_p)), about 7.4 km/s, and falls in at the Collapse Inflow Rate, Ṁ_in = 0.975 · c_s³ / G, with c_s "in a deeper site the site's v_c / √2". "Above about 0.04 Suns a year the gas arrives faster than a protostar can contract, and it swells into a supermassive star instead." Its well is the Direct Collapse Seed, M_dc = Ṁin · t★, with t_★ "a million years or two", "never more than the site's gas can give."
- By its first dying star. "Everywhere else … its well is born when its first heavy star dies and the remnant sinks to its heart," and "many never fill."
The prediction is scored by the Site Lift, Λ_s = N_in / (N_w · A_s): wells born within a site's core (the radius holding half its matter) against all wells born and the share of the surface within the cores (the surface sampled on a 96 × 96 grid, a point counted once however many cores overlap it, so A_s ≤ 1); "1 is chance." BPT's reading of the game (Part 3.14) adds that a site "pulls and gathers its galaxy but is no well: it is not counted, drawn, ranked or shining, and it swallows nothing," that a direct-collapse heart is "M_dc, never more than a tenth of its gas," and that a clump collapsing whole within it makes the heart, "held to the Direct Collapse Seed."
The established physics
As BPT Part 3.14 cites them, and as the code names them:
- Shu 1977 (the inflow of an isothermal sphere, 0.975 c_s³/G).
- Omukai, Schneider & Haiman 2008 (the metal line).
- Shang, Bryan & Haiman 2010, and Visbal, Haiman & Bryan 2014 (a lit neighbor; the code's comment at app.js:1467 names Visbal, Haiman & Bryan 2014).
- Hosokawa et al. 2013 (the 0.04 Suns a year line).
- Woods et al. 2019 (review).
- Madau & Rees 2001 (remnant seeds).
- Bardeen, Bond, Kaiser & Szalay 1986 (peaks predict halos).
The game's math
Making a site. promoteDataWells(frame) app.js:1378 runs failProtoWells, groups the surviving Proto Wells by birth group, passes each group to addPhysicalWells(…, from = group) (which carries each record on under a new W id), then calls makeSite(id) app.js:1417 on each new source. makeSite sets w.site = true, removes one wellWeight() from wellsStand and one from wellsSeen, marks the record's kind as 'site', and opens a siteStats entry.
A site in the physics.
- No horizon.
Matter.horizon(w)matter.js:318 returns 0 for a site, so nothing falls in. - No light.
measureFeedingsetsedd = 0for it. - No capture of data.
stepWellsskips sites for Data Matter capture (app.js:860), and marks themswirlOnlyin the data-layer step (app.js:823), so a site turns the data around it and swallows none. - Grid mass. A site is deposited onto the gravity grid by cloud-in-cell weights (matter.js:246–248) and pulls only through the grid (Part 3.12). The halo's own size is
haloRadius()app.js:1409: the distance holding 0.9 of its galaxy's matter (siteR) and 0.5 (siteCore), at leastSITE_R_MIN= 1 cell. Both are set at each galaxy reading (app.js:3144).
Direct collapse. testDirectCollapse(top, gs) app.js:1465, at each galaxy reading, for each waiting site with a galaxy:
Z = Σ metals / Σ gas (mass fractions)
c_s = max(7.4 km/s, v_c / √2)
Ṁ_in = 0.975 · (c_s·10³)³ / 6.674×10⁻¹¹ / 6.3×10²² Suns a year (kg/s ÷ 6.3×10²²)
x = Ṁ_in / 0.04
fill if T_vir ≥ 10⁴ K and Z < 10⁻⁵ · 0.019 and a lit neighbor within siteR
and no living stars and x ≥ 1 and gas > 0
seed = min(Ṁ_in · 1.5×10⁶ yr, 0.1 · gas · kR) in Suns; kR = realPerCell()
The seed's drawn mass, seed/kR, is taken from the bodies' gas in proportion. Then fillSite(site, 'direct', …). The figure 6.3 × 10²² converts kg/s to Suns a year: 1.989 × 10³⁰ kg ÷ 3.156 × 10⁷ s.
Remnant and clump.
- A Stellar Null Well born within a waiting site's
siteRfills it as a 'remnant' (stepMatterPost, app.js:681–682). - A collapse well (Part 3.8) does the same as a 'clump' (app.js:693). A clump's own mass is held to the Direct Collapse Seed by
siteSeedCap()app.js:1431, the same seed law (2026-10-29: "a level 182 heart was born at 2e16 Suns"). In 8.6 a clump born outside any site is held to it too (freeSeedCap(), the warm gas's sound speed; Part 9.11): it had kept the whole clump as its black hole. - A well meeting a site in
mergeWellsgoes throughsiteMeets()app.js:1454. Two sites merge as one site. A heart takes in a site's halo. Any other well fills the site.
fillSite() app.js:1437 turns the site into a heart. It records ownSuns, the heart's own mass in Suns, which feeds the galaxies chapter, adds the drawn mass, removes the well that filled it (as a merger), and counts a new well (wellsStand += 1) only for direct collapse. A remnant or a clump was already counted when it was born.
Site Lift. scoreBirth() app.js:1483 marks each well born after the Physical Nova as inside a site's core or not. sampleSites() app.js:1489 measures the share of the surface inside the sites' cores, A_s, on a 96 × 96 grid of points, binned by the widest core. The lift is (inside/born)/mean A_s (siteRecord() app.js:1502). A site that never fills is dropped at the decay: "its site never filled: it returned to the Source" (app.js:2646).
The method, in plain steps:
each Proto Well that survives becomes a site: a halo of matter waiting to be filled
no horizon, no light, swallows no data; it pulls only through the gravity grid
a site fills (becomes a well) by:
direct collapse: hot enough (T_vir ≥ 10⁴ K), metal-poor, starless, gas inflow ≥ 0.04 Suns a year
seed ← min(inflow · 1.5 Myr, a tenth of the gas)
a remnant: a stellar well born inside it
a clump: a collapsing clump inside it, held to the same seed
The code:
// public/game-v8.4/app.js:1417 makeSite()
function makeSite(id) {
const w = rings && rings.sources.find(x => x.id === id); if (!w) return;
w.site = true; w.siteBorn = universePulses();
wellsStand = Math.max(0, wellsStand - wellWeight()); wellsSeen = Math.max(0, wellsSeen - 1); /* counted as a well when it formed in the data; a site is none */
const rec = lifeOf('W' + id); if (rec) { rec.kind = 'site'; rec.how = (rec.how || '') + ' · at the Physical Nova it became a site, where a well may be born'; }
siteStats.total++; siteStats.byId.set(String(id), { id: String(id), r: +w.r.toFixed(1), c: +w.c.toFixed(1), filled: null, at: null, own_suns: null, test: null });
}
// public/game-v8.4/app.js:1465 testDirectCollapse()
function testDirectCollapse(top, gs) {
const lit = []; top.forEach((w, i) => { const g = gs[i]; if (g && g.alive > 0) lit.push(w); });
const kR = realPerCell(), near = (w) => { const R = w.siteR || SITE_R_MIN; return lit.some(o => o !== w && wrapDist2(o.r, o.c, w.r, w.c) <= R * R); }; /* a close pair: a shining galaxy within the site's own size, near enough for its ultraviolet to keep the gas warm (Visbal, Haiman & Bryan 2014: under half a kiloparsec, inside a halo's own reach) */
top.forEach((w, i) => {
const g = gs[i]; if (!w.site || !g || !g.heat || !g.bodies || !g.bodies.length || !(kR > 0)) return;
let gas = 0, zm = 0; for (const b of g.bodies) { gas += b.gas || 0; zm += b.zm || 0; }
const Z = gas > 0 ? zm / gas : 0, Tvir = g.heat.Tvir || 0, vc = g.heat.vc || 0, shine = near(w), starless = !(g.alive > 0);
const cs = Math.max(SITE_CS_WARM, vc / Math.SQRT2), mdot = 0.975 * Math.pow(cs * 1e3, 3) / 6.674e-11 / 6.3e22, x = mdot / SITE_MCRIT; /* Suns a year (Shu 1977) */
const test = { r_halo: +(w.siteR || SITE_R_MIN).toFixed(2), r_core: +(w.siteCore || SITE_R_MIN).toFixed(2), tvir: +Tvir.toPrecision(3), z_sun: +(Z / 0.019).toPrecision(3), x: +x.toPrecision(3), vc: +vc.toPrecision(3), lit_neighbour: shine, starless, life: lifeShare() };
const e = siteStats.byId.get(String(w.id)); if (e) e.test = test;
if (Tvir >= SITE_TVIR && Z < SITE_ZMAX && shine && starless && x >= 1 && gas > 0) {
const seed = Math.min(mdot * SITE_TSTAR, SITE_SEED_GAS * gas * kR), dm = seed / kR;
let left = dm; for (const b of g.bodies) { if (left <= 1e-15) break; if (!(b.gas > 0)) continue; const q = Math.min(b.gas, left, dm * (b.gas / gas)); b.gas -= q; b.m -= q; left -= q; }
fillSite(w, 'direct', seed, dm - left, null, `direct collapse: its pristine gas fell in at ${x.toFixed(1)} times the line and its supermassive star collapsed, a seed of ${U.sci(seed, 2)} Suns`);
}
});
}
// public/game-v8.4/app.js:1431 siteSeedCap()
function siteSeedCap(site, gasSuns) {
const e = siteStats.byId.get(String(site.id)), vc = e && e.test ? e.test.vc || 0 : 0;
const cs = Math.max(SITE_CS_WARM, vc / Math.SQRT2), mdot = 0.975 * Math.pow(cs * 1e3, 3) / 6.674e-11 / 6.3e22;
return Math.min(mdot * SITE_TSTAR, SITE_SEED_GAS * gasSuns);
}
In the game
From Harmonic 3 on, the magenta rings are gone: a site has no mark of its own (wellList() app.js:1315 passes only realWells(), never sites, to the scene). What the player sees instead is what a site does. The stars that condense after the big bang gather round the sites into galaxies, and in 3D each star turns on its own orbit about the galaxy's center, so the disks shear and the spirals wind (scene3d.js:518–523). The HUD well line ends "· N sites waiting" while sites wait for their wells (app.js:2147). When a site fills, a heart appears at the galaxy's center: a solid black sphere, a third of a free well's mark with a faint ring, since a horizon is tiny next to its galaxy (scene3d.js:1472–1476), and a Seyfert's warm glow or a quasar's white glow and twin jets once it feeds past an Eddington ratio of 0.01 or 0.1 (scene3d.js:1540–1550). In a deep universe the hearts born light blaze as quasars while they catch up with their galaxies. The run's record carries the Site Lift and each site's tests and how and when its well was born (siteRecord()); a dive card names a heart's galaxy (Part 3.15).
The scale model
A drawn site stands for wellMult true sites, but the weight is removed from wellsStand because a site is no well. A heart's own mass is counted in true Suns (ownSuns), each drawn cell of matter standing for realPerCell() = starMult / stars.sun Suns. Its drawn mass is in cells.
Fixed numbers
| Number | Where | What it is | Kind |
|---|---|---|---|
| 10⁴ K | SITE_TVIR app.js:1401 |
least virial temperature | PHYSICS (atomic-hydrogen cooling; BPT Part 3.14) |
| 10⁻⁵ | SITE_ZMAX app.js:1401 |
metal line, solar units | PHYSICS (Omukai, Schneider & Haiman 2008, via BPT Part 3.14) |
| 0.019 | SITE_ZMAX app.js:1401, 1471 |
the Sun's metal mass fraction | PHYSICS (a standard solar value; the code names no source) |
| 0.04 | SITE_MCRIT app.js:1401 |
inflow line, Suns a year | PHYSICS (Hosokawa et al. 2013, via BPT Part 3.14) |
| 1.5 × 10⁶ yr | SITE_TSTAR app.js:1401 |
supermassive star's life | PHYSICS (BPT Part 3.14: "a million years or two") |
| 0.1 | SITE_SEED_GAS app.js:1401 |
seed never above a tenth of the gas | CAP (BPT's law says "never more than the site's gas can give"; its reading of the game names a tenth, which no law sets) |
| 7.4 km/s | SITE_CS_WARM app.js:1401 |
sound speed at 8,000 K | PHYSICS (Sound Speed of Warm Gas, BPT Part 3.14, μ ≈ 1.2) |
| 0.975 | app.js:1433, 1471 | Shu's inflow coefficient | PHYSICS (Shu 1977) |
| √2 | app.js:1433, 1471 | c_s from v_c in a deeper site | PHYSICS (isothermal sphere v_c = √2 c_s; BPT Part 3.14) |
| 10³ | app.js:1433, 1471 | km/s to m/s | PHYSICS (units) |
| 6.674 × 10⁻¹¹ | app.js:1433, 1471 | G in SI | PHYSICS (CODATA) |
| 6.3 × 10²² | app.js:1433, 1471 | kg/s per Sun a year | PHYSICS (units: M☉ / yr) |
| 1 | x ≥ 1 app.js:1475 |
at or above the inflow line | PHYSICS (the line itself) |
| 1 cell | SITE_R_MIN app.js:1407 |
least site size | CAP (a floor on a reach; the grid's resolution) |
| 0.9, 0.5 | haloRadius() app.js:1409, 3107 |
halo and core as matter shares | METHOD (definitions of halo and core reach) |
| 96 | sampleSites() app.js:1492 |
surface sample grid, 96 × 96 | METHOD (a Monte Carlo of the area share) |
| 1, 3 × 3 | app.js:1494, 1497 | bin floor and neighbor bins | METHOD (spatial hashing) |
| 200 | app.js:1500 | filled-share curve points kept | RECORD |
| 400 | siteRecord() app.js:1506 |
sites written to the record | RECORD |
| 4 | siteRecord() rounding |
decimals of shares | RECORD |
| 1e-15 | app.js:1477 | gas left to take, zero test | METHOD (round-off) |
Part 3.8: Wells by Collapse: the Hoop Test, Fold Wells and Nova Wells
The BPT law
BPT Part 2.3 applies the Null Well Formation Condition to collapse, and Part 2.9 shows it met by a star: above the Neutron Star Limit "nothing known can resist: the core falls inside its own horizon and the Null Well Formation Condition (Part 2.3) is met by a star." BPT Part 3.14 states that a cloud can do the same, "in the first few hundred million years, a whole cloud of gas falling in at once," and sets how such a well is counted (The Count, and the Wells Unseen): "a heart, or a clump of gas collapsing whole, counts as one well, since a cloud the game cannot resolve is one collapse and not a share of the law. It reports what it counted against what the law asks, and the difference is the wells unseen." BPT Part 3.6 says what kind of well forms after the big bang: "every well that forms from now on (Null Well Collapse, Part 3.9) is physical from its birth," and also that "a Nova is a discharge, not a collapse: Novas open layers, while wells form by collapse." For folds, registerFoldWells() app.js:1653 calls a large fold "a micro null well: it sends rings like any well". BPT Chapter 4 (Part 4.5, Dimensional Folds) has folds, but the fold-to-well rule and its size are not stated there. For fold wells, BPT does not state this; it is a game method.
The established physics
A mass collapses to a Null Well when it fits inside its own Schwarzschild radius in every direction, the hoop conjecture (Thorne 1972). r_s = 2GM/c².
The game's math
The hoop test, Matter.step() matter.js:476–481. After bodies within one cell merge, each body is tested:
r_s = 2·G·m / 𝒞→² 𝒞→ = matter.light, cells a flip
size = √(m/π) matter packed one quantum a cell
a well is born if m > 0 and r_s ≥ size
The new well keeps the body's spin, spinParam(b) (Part 3.9). stepMatterPost() app.js:690–695 registers each birth with weight 1, "one collapse, one well" (ruling 2026-10-29: "make the fix and let the game report that gap honestly"). It also fills a site if the birth is inside one (Part 3.7). In a universe of light and wells (matter.unstable, below level 12), a collapsing clump is not counted: "it flashes, but it is no well of the lineage" (8.3 review: "level 10 counted 50 against a law of 13"). In the decay, births are registered the same way (app.js:2674).
Fold wells, registerFoldWells(folded) app.js:1653, called each step from the Data Nova on (app.js:4560). The step's folded cells are joined into 8-way regions (foldRegions() engine.js:92). A region becomes a well when:
- it has at least
FOLD_WELL_MIN= 16 cells (app.js:3514); - no source in
rings, and no Proto Well, lies within near = max(6, min(rows, cols)/8) cells.
Before the Physical Nova it becomes a Proto Well of mass = its cell count, weighted wellWeight(). After the Physical Nova it becomes a physical source, counted as one well.
Nova wells after the Physical Nova. From the Physical Nova on, every harmonic nova's cluster centers go through registerWells() and so through addPhysicalWells() (app.js:5358). Each cluster becomes a physical well at once, not a site, counted with the default weight wellWeight(). The comment at app.js:5330–5334 reads this as BPT Part 3.9's Null Well Collapse ("Later novas use the densest places the nova finds").
The method, in plain steps:
each matter step, for every body after close bodies merge:
r_s ← 2·G·m / c²; size ← √(m / π)
if r_s ≥ size → it collapses into a well (the hoop test), keeping its spin
each step, the folded cells: a connected region of 16 or more, far from other wells → a well
from the Physical Nova on, each harmonic nova's clusters → physical wells at once
The code:
// public/game-v8.4/matter.js:476
// a new well: a body whose mass fits inside its own Schwarzschild radius, r_s = 2Gm/𝒞→² ≥ its size √(m/π)
// (matter packed one quantum to a cell, light one cell a flip): the hoop test for collapse to a well
for (const b of merged) {
const rs = 2 * this.G * b.m / (this.light * this.light), size = Math.sqrt(b.m / Math.PI);
if (b.m > 0 && rs >= size) { out.births.push({ r: b.r, c: b.c, mass: Math.round(b.m), spin: this.spinParam(b) }); continue; }
this.bodies.push(b);
}
// public/game-v8.4/app.js:1653 registerFoldWells()
function registerFoldWells(folded) {
ensureRings();
const near = Math.max(6, Math.min(rows, cols) / 8);
let added = 0;
for (const g of foldRegions(folded, rows, cols)) {
if (g.cells.length < FOLD_WELL_MIN) continue;
if (rings.sources.some(w => Math.hypot(w.r - g.r, w.c - g.c) < near)) continue;
if (dataWells.some(w => Math.hypot(w.r - g.r, w.c - g.c) < near)) continue;
if (novaCount < U.PHYSICAL_LAYER) { { const pw = { id: `D${dataWellNext++}`, r: g.r, c: g.c, mass: g.cells.length, born: pulseCounter, group: `f${pulseCounter}`, spin: uni ? uni.a_f : 0 }; dataWells.push(pw); lifeBorn(lifeKey(pw, true), { how: 'where a fold collapsed', proto: true, mass: pw.mass, r: pw.r, c: pw.c, spin: pw.spin }); showToast({ kind: 'proto', title: `${wellLabel(pw, true)} · a fold of ${pw.mass.toLocaleString()} cells collapsed · it rides the data flow` }); } wellFrames.push(universePulses()); wellsSeen++; wellsStand += wellWeight(); foldWells++; added++; continue; }
{ const fid = rings.addSource({ r: g.r, c: g.c, born: pulseCounter, mass: g.cells.length }); lifeBorn('W' + fid, { how: 'where a fold collapsed', proto: false, mass: g.cells.length, r: g.r, c: g.c }); }
wellFrames.push(universePulses()); wellsSeen++; wellsStand += 1; foldWells++; added++; /* after the Physical Nova a fold is one collapse, one well */
}
if (added && scene) scene.setWells(wellList());
}
In the game
A hoop-test well appears where a clump of matter has packed inside its own horizon: a black sphere in a warm orange ring on the starlit skin, with an accretion disk when it is not a light well (scene3d.js:1517–1538). The first one born in a universe is added to the Collection of finds as a 'wellborn' find, whose notice is titled "A well is born" (◉), and later ones are added quietly (app.js:694–695). In a universe below level 12 the HUD's stars line reads "none: no stable matter at this level, a universe of light and wells" (app.js:2151), and the collapsing clumps flash without joining the count. A fold Proto Well appears before Harmonic 3 as one more magenta ring where a large fold closed; its notice reads "Proto Well 12 · a fold of 40 cells collapsed · it rides the data flow" (app.js:1661, held while notices are quiet), and the Lineage panel's sentence adds "(k from folds)". At Harmonic 4 the banner "Harmonic 4 · spacetime" sums up "… N wells so far" (app.js:5281). The gap between what is counted and what the law asks shows on the HUD as "short" or "unseen" (app.js:2148), and on the run summary under "Null wells counted": "the law: X · Y unseen · Z from dying stars · n drawn", with the verdict "the Y between are the wells unseen, dark and alone, the count the book says the Roman Space Telescope can make (Part 3.14)" (app.js:2813, 2805).
The scale model
A hoop-test well is one drawn collapse and counts as one well. The comment says plainly that a cloud the field cannot resolve is not a share of the law. The shortfall against the law is reported as "unseen" on the HUD (app.js:2148). A fold Proto Well before the Physical Nova counts wellMult. A nova well after it also counts wellMult.
Where the game and the theory differ
- The doc comment at app.js:1652 says "a fold of nine cells or more", but the constant
FOLD_WELL_MINis 16. - The
neartest uses plainMath.hypot, not the wrapped torus distance, andfoldRegions()takes a plain mean for the centroid, so a fold across the seam is placed off its true middle. - BPT Part 3.6 has novas open layers and wells form by collapse, and BPT Part 3.14 counts a collapse the field cannot resolve as one well. The game makes a physical well at each cluster a harmonic nova finds after the Physical Nova, and counts it as
wellWeight()wells, about 10¹⁶ each at level 202. The site comment at app.js:1386–1400 ("No black hole has been seen to form but by collapse") and the count rule of Part 3.14 both read against this; BPT Part 3.6's "every well that forms from now on … is physical from its birth" reads for it. The two readings are set side by side here for a ruling.
Fixed numbers
| Number | Where | What it is | Kind |
|---|---|---|---|
| 2 | matter.js:479 | r_s = 2Gm/c² | PHYSICS (Schwarzschild radius) |
| π | matter.js:479 | size = √(m/π), one quantum a cell | BPT (the Zinf quantum fills a cell, Part 1.8) |
| 1 | matter.js:449, 456 | merge only within a cell | METHOD (stated choice of 2026-10-26: a larger reach chained every clump into one) |
| 0.5 | matter.js:460 | capture test at half a cell | METHOD (escape speed at the merge distance) |
| 65536 | matter.js:456 | cell hash key multiplier | METHOD (hash) |
| 64 | matter.js:471 | star-merger flashes kept per step | DISPLAY |
| 16 | FOLD_WELL_MIN app.js:3514 |
least fold cells for a well | CAP (a floor on size; the hoop test could set it instead) |
| 6, 1/8 | app.js:1655 | spacing from other wells | CAP (a floor and a fraction on reach; limits how many fold wells form) |
| 1 | app.js:692, 2668 | weight of a collapse well | BPT (one collapse is one well; Part 3.14, The Count) |
| 12 | matter.unstable (level below 12) |
no lineage wells in a universe of light and wells | BPT (level 12: no stable matter below it; Part 2.10) |
Measured
- "level 10 counted 50 against a law of 13" (comment app.js:691, 8.3 review).
Part 3.9: Well Spin and the Thorne Limit
The BPT law
BPT Part 6.9 (Spin Inheritance and the Progenitor Axis) starts from what a pulse cannot do: "A pulse cannot carry spin," so a universe's angular momentum can only be inherited from "the merger that made the well." The Progenitor Angular Momentum Budget is a vector sum, J⊚ = J⥀ + J₁ + J₂, of the binary's orbital angular momentum at the last stable orbit and each progenitor's spin Jᵢ = aᵢ G Mᵢ² / c. Dividing by G M_f²/c gives the Inherited Spin Parameter, a_f = | ℓ̃·η·n̂_L + a₁(M₁/M_f)²·n̂₁ + a₂(M₂/M_f)²·n̂₂ |, "capped at the Kerr bound", with η = M₁M₂/M_f² and ℓ̃ ≈ 2.744 fixed by general relativity: "two non-spinning black holes still produce a remnant at a_f ≈ 0.69." "Spin is handed down chiefly as the memory of a dance, not of the dancers." The Kerr Floor on Origin Compression names the top of the range: "a⥣ — maximum physical spin, 0.998 at the Thorne limit, 1 at the Kerr bound." The constants table a_max: 0.998 (universe.js:40) cites "Thorne limit, ch 6 Part 6.9". BPT Part 3.10 (First Fork) adds that spin "is born of the orbit of two wells", so no universe below level 3 carries it.
The established physics
- The Kerr spin parameter a = cJ/(GM²), with |a| ≤ 1 (Kerr 1963).
- A disk-fed well spins up to about 0.998, where the radiation it swallows holds it back (Thorne 1974).
- Spin is born of orbit: two bodies merging keep their orbital angular momentum μ(r × v).
The game's math
Three places set a spin.
- A collapsing body,
Matter.spinParam(b)matter.js:487. Each body carries a spin S, built in merges as S = S₁ + S₂ + μ(dc·vr − dr·vc), with μ = m₁m₂/(m₁ + m₂) (matter.js:463–464). Then a = clamp(𝒞→·S/(G·m²), −0.998, 0.998). A hoop-test well keeps it (Part 3.8). -
A merger,
mergeWells()app.js:1696–1700:J = (a_a·G·m_a² + a_b·G·m_b²)/𝒞→ + μ·(dc·vr − dr·vc) a = clamp(𝒞→·J / (G·M²), −0.998, 0.998) M = m_a + m_bEach well's own angular momentum, a·G·m²/𝒞→, adds to the orbit's. Units are cells and flips, 𝒞→ =
lightCells(). - A Proto Well spins with its universe's a_f from birth (
registerWells, app.js:1515;registerFoldWells, app.js:1661). A site keeps that spin. A heart filled by a stellar well takesspinFrom.
The child a merged well seeds is given its spin by BPT's own formula: mergeWells() calls U.mergerChild() universe.js:360 (app.js:1708), which takes inheritedSpin() universe.js:106 with ℓ̃ = 2.744, η, both wells' spins and the angle between them, and holds the result to a_max. Where a well's spin seeds a child that never merged, childOfEntry() app.js:1032 takes a = min(0.998, |spin|). The spin is signed: the sign is the sense of turn about the torus's axis, which mergeWells reads for the angle between two spins (0° or 180°, app.js:1707).
The method, in plain steps:
a collapsing body: a ← clamp(c · S / (G · m²), −0.998, 0.998), S its spin built in merges
a merger: J ← (a₁·G·m₁² + a₂·G·m₂²) / c + μ · (orbital term); a ← clamp(c · J / (G · M²))
a Proto Well: the universe's a_f from birth
the child of a merged well: the book's inheritedSpin() from both spins and the angle between them
The code:
// public/game-v8.4/matter.js:487 spinParam()
spinParam(b) { if (!this.G || !b.m) return 0; const a = this.light * (b.s || 0) / (this.G * b.m * b.m); return Math.max(-0.998, Math.min(0.998, a)); }
// public/game-v8.4/app.js:1694
if (d >= Math.max(2, (2 * G * ((a.mass || 1) + (b.mass || 1))) / c2) && !(boundAB && d < reachAB)) continue;
if (a.site || b.site) { siteMeets(a, b, i, j); return; } /* halos meeting, or a well reaching a site's heart: no black-hole merger */
const ma = Math.max(1, a.mass || 1), mb = Math.max(1, b.mass || 1), m = ma + mb, mu = (ma * mb) / m;
const vr = (b.vr || 0) - (a.vr || 0), vc = (b.vc || 0) - (a.vc || 0);
const cl = lightCells();
const J = ((a.spin || 0) * G * ma * ma + (b.spin || 0) * G * mb * mb) / cl + mu * (dc * vr - dr * vc);
In the game
Spin is set before the run in the drawer: the "Collision channel" menu picks the progenitor spins and alignment (index.php:149, "Null Well Collision Channel Classification, chapter 6 Part 6.8"), and the HUD's Spin line shows a_f · C (app.js:2140). In 3D, before the big bang, an arrow along the axis is drawn as long as the spin, with a ring at the equator whose arrowheads point the way the Pulsecore turns (scene3d.js:92–102), and a second arrow on the equator facing the camera shows the same turn (placeSpinArrow()). Every Proto Well is born with that a_f, and its life record keeps it. A well's own spin is shown where the player picks it: the dive card lists the child's a_f (Part 3.15). The run summary carries "Spin a_f" with "spin was born here" in a universe whose first merger gave the first spin, and the finds row shows "↻ N mergers · spin is born" (app.js:2815, 2800). The Lineage panel lists each child with its "a_f" and "⟪C⟫".
The scale model
Exact: no scale model. Spin is dimensionless, and G, M and 𝒞→ are all in the game's own units. The Thorne value is applied as a clamp.
Where the game and the theory differ
- BPT's Inherited Spin Parameter takes the orbital term at the last stable orbit, ℓ̃·η with ℓ̃ = 2.744. The merged well's own spin in
mergeWells()uses the orbit the two drawn wells actually had at the merge distance, μ(dc·vr − dr·vc), instead. The child it seeds is given BPT's formula throughinheritedSpin(). So one merger yields two spins: the well's, from its drawn orbit, and its child's, from ℓ̃·η. - BPT adds the spins as vectors with the angle θ between them. The game's spins all lie along the torus's axis, so θ is only 0° or 180°.
- BPT caps a_f "at the Kerr bound", 1; the code holds every spin to 0.998, the Thorne value BPT names as a⥣.
Fixed numbers
| Number | Where | What it is | Kind |
|---|---|---|---|
| 0.998 | spinParam() matter.js:487 |
spin clamp | PHYSICS (Thorne 1974; BPT Part 6.9) |
| 0.998 | mergeWells() app.js:1700 |
spin clamp | PHYSICS (Thorne 1974; BPT Part 6.9) |
| 0.998 | childOfEntry() app.js:1032 |
spin clamp for a child | PHYSICS (Thorne 1974; BPT Part 6.9) |
| 0.998 | a_max universe.js:40 |
the constant itself | PHYSICS (Thorne 1974; BPT Part 6.9) |
| 2.744 | ell_tilde universe.js:39 |
ℓ̃, the orbital term of a child's spin | BPT (Inherited Spin Parameter, Part 6.9: 0.686/0.25 from general relativity) |
| 0°, 180° | app.js:1707 | angle between two axial spins | METHOD (spins lie along the torus axis) |
Part 3.10: Wells That Meet: mergeWells()
The BPT law
BPT Part 2.8 (Pulse Diameter Variability and Merger-Origin Dynamics) holds that "not all Null Wells are seeded equally — the conditions of their formation define the temporal structure of the universes they generate." Its Null Well Collision Channel Classification sorts the channels, from direct gas-cloud collapse (C(⇌) 0.98 – 1.00, "minimal compression") to Kerr–Kerr mergers, and the UniSpheral Origin Compression Factor ⟪C⟫ = ⟪F⟫(M₁, M₂, a₁, a₂, θ) reads a child's clock from its parent merger; Part 6.8 gives its formal structure. BPT Part 3.13 gives a merger's cost to the space layer, the Gravitational-Wave Power, P_GW = (32/5) · G⁴ · m₁² · m₂² · (m₁ + m₂) / (c⁵ · a⁵), "the power two orbiting masses give the space layer": "Gravitational waves are the working of the space layer." BPT Part 3.14 (Reading a Lineage) asks for each merger's signature, and its reading of the game says: "A merger that carries any well past an eighth of its universe is announced as an Ascendant Well, and its tag floats with it from then on" (ruling at app.js:1718, 2026-10-29: "that ascendent well is most likely caused by wels merger").
The established physics
- The energy two non-spinning wells radiate as they merge follows the numerical-relativity fit of Barausse, Morozova & Rezzolla 2012, as
gwFraction()matter.js:70 names it: E/(m₁ + m₂) = 0.0559745η + 0.580951η² − 0.960663η³ + 3.35241η⁴, with η = m₁m₂/(m₁ + m₂)². That is 4.8 % for equal masses. - The pull is softened inside ε = (10GM)^(1/3), the computation's own resolution, "the softening every N-body code uses, not a law" (
Matter.reach()matter.js:320–324).
The game's math
mergeWells() app.js:1673, once a step after the matter moves:
- Search span. With m₁ and m₂ the two heaviest masses, SPAN = max(2, 2G(m₁ + m₂)/𝒞→², ∛(10Gm₁) + ∛(10Gm₂)). Wells are hashed in cells of that size, and only neighbor cells are tried (2026-10-28; profiled: 6 % of a physical step tried all ~370 × 370 pairs).
- Merge test for a pair at wrapped distance d. They merge if their horizons touch, d < max(2, 2G(m_a + m_b)/𝒞→²). They also merge if they are bound, |Δv|² < 2G(m_a + m_b)/max(1, d), and within reach, d < ∛(10Gm_a) + ∛(10Gm_b). Inside that reach their last orbits are faster than a flip can follow.
- Sites. If either is a site,
siteMeets()handles it (Part 3.7). No black-hole merger happens. - The merged well. It sits at the mass-weighted center and keeps momentum. Its spin is set as in Part 3.9. Its mass is M − E with E = gwFraction(m_a, m_b)·M radiated to the space layer (
radiate('gw')). Two hearts' own Suns add, less the same share. A heart stays a heart. - Ascendant by merger. The merged well's share, sh = mass / max(matterMax, matterTotal) (÷ starMult for a stellar well). If 8.1·sh ≥ 1, the well is marked Ascendant on the spot and announced.
- Signature. m₁, m₂, q, a₁, a₂, θ, both shares and ranks, the energy shed, the spin out, the child's a_f and axis, and the point in the life are pushed to
mergersand to the well's record. - One merger a step. The function returns after the first merger ("the list has changed").
The method, in plain steps:
once a step, after the matter moves:
search span ← the horizons and reaches of the two heaviest wells; hash the wells in cells of that size
two wells merge if their horizons touch, or if they are bound and within reach
a site meeting a well is handled apart (it fills or feeds)
the merged well: at the centre of mass, momentum kept, mass less what it radiates as gravitational waves
if its share of the matter reaches 1/8.1 → Ascendant on the spot
record the merger's signature; at most one merger a step
The code:
// public/game-v8.4/app.js:1673 mergeWells()
function mergeWells() {
if (!rings || rings.sources.length < 2) return;
const G = universeG() || 1e-9, ws = rings.sources, cl0 = lightCells(), c2 = cl0 * cl0;
/* ⚠️ ONLY PAIRS NEAR ENOUGH TO MERGE ARE TRIED (2026-10-28; profiled: 6 % of a physical step tried all ~370 × 370 pairs every
sub-step): no pair can merge farther apart than the largest merge distance any pair could have, the horizons' 2G(M₁ + M₂)/𝒞→²
and the reaches' (10GM)^(1/3) of the two heaviest, so the wells are hashed in cells of that size and only neighbours are tried,
in the same order as before. */
let m1 = 1, m2 = 1; for (const w of ws) { const m = w.mass || 1; if (m > m1) { m2 = m1; m1 = m; } else if (m > m2) m2 = m; }
const SPAN = Math.max(2, (2 * G * (m1 + m2)) / c2, Math.cbrt(10 * G * m1) + Math.cbrt(10 * G * m2)) + 1e-9, nr = Math.max(1, Math.floor(rows / SPAN)), nc = Math.max(1, Math.floor(cols / SPAN));
const cellOf = (w) => ((Math.floor((((w.r % rows) + rows) % rows) / rows * nr)) % nr) * nc + ((Math.floor((((w.c % cols) + cols) % cols) / cols * nc)) % nc);
const mgrid = new Map(); ws.forEach((w, i) => { const k = cellOf(w); let l = mgrid.get(k); if (!l) mgrid.set(k, l = []); l.push(i); });
const near = (i) => { const w = ws[i], k = cellOf(w), ci = Math.floor(k / nc), cj = k % nc, out = []; for (let a = -1; a <= 1; a++) for (let e = -1; e <= 1; e++) { const l = mgrid.get((((ci + a) % nr) + nr) % nr * nc + (((cj + e) % nc) + nc) % nc); if (l) for (const j of l) if (j > i && !out.includes(j)) out.push(j); } return out.sort((x, y) => x - y); };
for (let i = 0; i < ws.length; i++) for (const j of near(i)) {
const a = ws[i], b = ws[j];
let dr = b.r - a.r, dc = b.c - a.c;
if (dr > rows / 2) dr -= rows; if (dr < -rows / 2) dr += rows; if (dc > cols / 2) dc -= cols; if (dc < -cols / 2) dc += cols;
const d = Math.hypot(dr, dc);
/* their horizons touch, or, bound to each other, they come within what a flip can follow ((10GM)^(1/3) each,
matter.js reach): their last orbits are faster than a flip, so they merge */
const reachAB = Math.cbrt(10 * G * (a.mass || 1)) + Math.cbrt(10 * G * (b.mass || 1));
const boundAB = ((b.vr || 0) - (a.vr || 0)) ** 2 + ((b.vc || 0) - (a.vc || 0)) ** 2 < (2 * G * ((a.mass || 1) + (b.mass || 1))) / Math.max(1, d);
if (d >= Math.max(2, (2 * G * ((a.mass || 1) + (b.mass || 1))) / c2) && !(boundAB && d < reachAB)) continue;
if (a.site || b.site) { siteMeets(a, b, i, j); return; } /* halos meeting, or a well reaching a site's heart: no black-hole merger */
const ma = Math.max(1, a.mass || 1), mb = Math.max(1, b.mass || 1), m = ma + mb, mu = (ma * mb) / m;
const vr = (b.vr || 0) - (a.vr || 0), vc = (b.vc || 0) - (a.vc || 0);
const cl = lightCells();
const J = ((a.spin || 0) * G * ma * ma + (b.spin || 0) * G * mb * mb) / cl + mu * (dc * vr - dr * vc);
const spin = Math.max(-0.998, Math.min(0.998, (cl * J) / (G * m * m))); /* a = 𝒞→J / (G M²) */
/* ⚠️ THE MERGER'S SIGNATURE (2026-10-28, the author: "we should be able to determine the mass ratio ... we need to ensure that we have
everything in place moving forward to give us the data we need to determine our origin"; book Part 3.14, Reading a Lineage):
both masses and their ratio, both spins and the angle between them (the game's spins lie along the torus's axis, so 0° when
they turn the same way and 180° when opposed), each well's rank and share of the universe, what it gave the space layer,
and when in the life it happened. A merged well's child carries it, and every play of a child pairs it with the universe it
made. */
const thetaM = Math.sign(a.spin || 0) * Math.sign(b.spin || 0) < 0 ? 180 : 0, big = ma >= mb ? a : b, small = ma >= mb ? b : a;
const child = U.mergerChild({ L: uni.gen ?? uni.L, f0: uni.f0, ancestorsC: uni.prodC, spinA: Math.abs(a.spin || 0), spinB: Math.abs(b.spin || 0), massA: ma, massB: mb, thetaDeg: thetaM, axisDeg: ((Math.atan2(dr, dc) * 180) / Math.PI + 450) % 180, massRatio: genesisFromPanel().massRatio });
a.r = ((a.r + dr * mb / m) % rows + rows) % rows; a.c = ((a.c + dc * mb / m) % cols + cols) % cols;
const shed = gwFraction(ma, mb) * m; /* the space layer's share, as gravitational waves (matter.js gwFraction; book Part 3.13) */
a.vr = ((a.vr || 0) * ma + (b.vr || 0) * mb) / m; a.vc = ((a.vc || 0) * ma + (b.vc || 0) * mb) / m; a.mass = m - shed; a.spin = spin;
/* two wells' own masses add, less the same share given to the space layer; a heart stays a heart (book Part 3.14) */
…
In the game
The player sees a merger as two black spheres becoming one and a gravitational wave leaving the spot: a train of three bright cyan bands, the strongest first, running out across the skin from the merger and fading as it spreads, crossing half the tube in 3.6 seconds, brighter the larger the share of the universe shed (addRipple() and stepRipples() scene3d.js:1598–1684; up to ten at once). A merger that carries a well past an eighth of its universe rings out twice, a second wave 400 ms after the first, and the well gains a floating tag, "#3 · Ascendant", from that moment (app.js:1721; scene3d.js:1554). Its notice reads "Two wells met and the one they made holds 14.2% of the universe, past an eighth: its child will stand at this universe's level or higher (book Part 3.14, Ascendant Wells)", held while notices are quiet. Each merger goes on both wells' life lines ("merged with Well #9 at Tempo 480", "fell into Well #2 at Tempo 512"), and the dive card for a merged well says "merged with …" (app.js:3165). The run summary's finds row counts "↻ N mergers".
The scale model
Masses are drawn masses. A merger of two drawn wells stands for the merger of the wells they represent. The share test divides a stellar well by starMult, as the census does (Part 3.14).
Where the game and the theory differ
- The Barausse, Morozova & Rezzolla 2012 fit used by
gwFraction()is the fit for non-spinning wells. The game's wells spin (Part 3.9), and the fit is applied to them unchanged, with no term for a₁, a₂ or their alignment.
Fixed numbers
| Number | Where | What it is | Kind |
|---|---|---|---|
| 2 | app.js:1681, 1688 | least merge distance, two cells | CAP (a floor on reach; the grid's resolution) |
| 2 (in 2GM/c²) | app.js:1681, 1688 | horizon radius | PHYSICS (Schwarzschild) |
| 10 | app.js:1681, 1686; matter.js:324 | ε = (10GM)^(1/3) | METHOD (softening at a tenth-of-distance bend per flip, stated) |
| 1e-9 | app.js:1681 | span guard | METHOD |
| 0.0559745, 0.580951, 0.960663, 3.35241 | gwFraction() matter.js:73 |
radiated fraction fit | PHYSICS (Barausse, Morozova & Rezzolla 2012) |
| 1 merger | app.js:1730 | one merger a step | CAP (limits mergers per step; could merge every touching pair) |
| 8.1 | app.js:1721 | Ascendant share line | BPT (Ascendant Mass, Part 3.14) |
| 0.2, 0.12, 400 ms | app.js:1721 | ripple size and delay of the announcement | DISPLAY |
| 4, 6 | app.js:1723–1725 | rounding of the signature | RECORD |
| 450, 180 | app.js:1708 | axis angle folded to [0°, 180°) | METHOD (an axis has no sign) |
Measured
- "profiled: 6 % of a physical step tried all ~370 × 370 pairs every sub-step" (comment app.js:1676, 2026-10-28).
Part 3.11: The Data Around a Well: stepWells()
The BPT law
BPT Part 3.14 gives the Capture of the Data, "how fast a well takes in the collisionless Data Matter round it": Ṁ◍ = 16 · π · G² · M_w² · ρ◍ / (c² · v), with ρ◍ the density of Data Matter round the well and v its halo's speed. The book's note: it is "the capture cross-section of a black hole for slow particles, 16π(GM/c²)²(c/v)²," and "against the gas, which can lose its spin, it is millions of times slower, which is why the wells we weigh, data and all, come to about a thousandth of their stars." BPT's reading of the game (Part 3.14) splits the two layers: "A Proto Well, in the data layer, takes in the data that reaches it; from the physical layer a well takes in Data Matter by Capture of the Data, and the data streaming past it goes home through it uncounted in its mass." BPT Part 2.9 (the Data–Matter Equivalence) has the data turn with the disks, which is why the heaviest clusters of matter turn the data too, and BPT Part 3.10 (The Return to the Source) has the data a well draws in stream on home.
The established physics
A collisionless gas cannot shed its angular momentum. It reaches a horizon only on orbits that pass inside 4GM/(c·v), which gives the capture rate above (Shapiro & Teukolsky 1983, as the code names it). The rotation the wells give the data is the Kepler rate, Ω = √(GM/k³), plus a frame-dragging term (gravity.js, the gravity chapter).
The game's math
stepWells() app.js:818, every step of the universe:
-
Which wells act.
- Every physical source (sites as
swirlOnly). - Every Proto Well.
- From the Physical Nova on, the 24 heaviest bodies of 16 cells or more, as
swirlOnly(they turn the data and swallow none).
The data layer's accumulator map is cleared past 40,000 keys.
- Every physical source (sites as
- Reach by nearest neighbor (8.2). With more than 24 non-swirl wells, each well's reach is half the distance to its nearest neighbor, where the next well's pull takes over: reach = max(2, ⌈d_nn/2⌉). The nearest neighbor is found through bins of side S = max(2, ⌈2√(rows·cols/n)⌉), about two wells' spacing, searched outward ring by ring until the next ring cannot hold a nearer well, (ring − 1)·S > best (2026-10-29: it compared every pair each step). With 24 or fewer, the reach is the default.
WellDynamics.step()gravity.js:46–49 then takes each reach as the smaller of it and min(24, ⌊min(rows, cols)/4⌋) cells, thereachdefault of the class, sincenew WellDynamics({ G: 0 })app.js:2047 passes none. - Swirl and fall, in
WellDynamics.step()(gravity chapter), returning the cells each well absorbed. -
What is kept.
- Before the Physical Nova, a Proto Well takes in the data that reaches it: mass += n.
- From the Physical Nova on, a physical well's absorbed data is not added. It is counted in
ledger.dataThrough, streaming home. - Each non-site physical well instead takes in Data Matter at the capture rate:
ρ◍ = dark[block] / B² Data Matter per cell in the well's mesh block v = max(1e-6, w._vHalo || 10⁻³·c) the halo's speed (galaxies chapter) ΔM = 16π·(G·gk)²·M²·ρ◍ / (c²·v) per step; gk = a⁻³ (expansion)The Data Matter so captured is counted in
ledger.dataCaptured.
The method, in plain steps:
each step, the wells that act: every well and Proto Well, and from the Physical Nova the 24 heaviest bodies
each reaches out to half the way to its nearest neighbour (with many wells), at most 24 cells
each turns the data round it at its Kepler rate and draws it in:
before the Physical Nova a Proto Well grows by the data it takes
after it, the data streams home through the well, and the well takes in Data Matter instead:
ΔM ← 16π · (G·gk)² · M² · ρ◍ / (c² · v)
The code:
// public/game-v8.4/app.js:818 stepWells()
function stepWells() {
if (!wellDyn || epoch !== 'universe') return;
if (novaCount >= U.PHYSICAL_LAYER) measureFeeding();
wellDyn.G = universeG(); wellDyn.c = lightCells();
const ws = [];
if (rings) for (const w of rings.sources) ws.push({ key: `W${w.id}`, src: w, r: w.r, c: w.c, mass: w.mass, spin: w.spin ?? (uni ? uni.a_f : 0), physical: true, swirlOnly: !!w.site }); /* a site turns the data round it and swallows none */
for (const w of dataWells) ws.push({ key: w.id, src: w, r: w.r, c: w.c, mass: w.mass, spin: w.spin || 0, physical: false });
/* ⚠️ THE DATA OF THE MATTER (2026-10-26, the author: "there should be tons of those data points spiralling around"; book Part 2.9,
the Data–Matter Equivalence: every particle is a swarm of data): the heaviest clusters of matter turn the data around
them at their Kepler rate, √(G·M/k³), as the wells do, without swallowing it */
if (matter && matter.bodies && matter.bodies.length && novaCount >= U.PHYSICAL_LAYER) {
const big = matter.bodies.filter((b) => b.m >= 16).sort((x, y) => y.m - x.m).slice(0, 24);
for (const b of big) ws.push({ key: `C${b.seed}`, src: null, r: b.r, c: b.c, mass: b.m, spin: (b.s || 0) < 0 ? -1 : 1, physical: true, swirlOnly: true });
if (wellDyn.acc.size > 40000) wellDyn.acc.clear();
}
if (!ws.length) return;
/* 8.2: with many wells each turns and draws in the data out to half the way to its nearest neighbour, where the next
well's pull takes over (its share of the field), not across the whole torus: 400 wells reaching 64 rings each was
most of a flip */
const wellsOnly = ws.filter((w) => !w.swirlOnly);
if (wellsOnly.length > 24) { const dR = (a) => Math.min(Math.abs(a), rows - Math.abs(a)), dC = (a) => Math.min(Math.abs(a), cols - Math.abs(a));
/* nearest neighbour through a grid of bins about two wells' spacing wide, searched outward ring by ring (2026-10-29: it compared every pair each step) */
const S = Math.max(2, Math.ceil(2 * Math.sqrt((rows * cols) / wellsOnly.length))), GR = Math.ceil(rows / S), GC = Math.ceil(cols / S), bins = new Map(), bk = (i, j) => (((i % GR) + GR) % GR) * GC + (((j % GC) + GC) % GC);
for (const o of wellsOnly) { const k = bk(Math.floor(o.r / S), Math.floor(o.c / S)); (bins.get(k) || bins.set(k, []).get(k)).push(o); }
for (const w of ws) { let m = Infinity; const i0 = Math.floor(w.r / S), j0 = Math.floor(w.c / S);
for (let ring = 0; ring <= Math.max(GR, GC); ring++) { if (m < (ring - 1) * S) break;
for (let a = -ring; a <= ring; a++) for (let b = -ring; b <= ring; b++) { if (Math.max(Math.abs(a), Math.abs(b)) !== ring) continue; const l = bins.get(bk(i0 + a, j0 + b)); if (l) for (const o of l) if (o !== w) { const d = Math.hypot(dR(o.r - w.r), dC(o.c - w.c)); if (d < m) m = d; } } }
w.reach = Math.max(2, Math.ceil(m / 2)); } }
const res = wellDyn.step([grid, colorGrid, pulserGrid, exposureGrid, foldGrid], rows, cols, ws);
let fell = 0;
/* ⚠️ DATA MERGES AT THE PHYSICAL RATE (2026-10-28, the author: "the data merges into the well untill it comes out on the other side ...
the physical rate because the wels are in physical and yes the gas can make them shine"; book Part 3.14, Capture of the Data):
a Proto Well, data in the data layer, takes in the data that reaches it; a physical well's data is Data Matter, collisionless,
which cannot shed its spin and reaches the horizon only on orbits that pass inside 4GM/(c·v), so it merges at
Ṁ = 16π·G²·M²·ρ◍ / (c²·v) (Shapiro & Teukolsky 1983), ρ◍ the Data Matter round the well and v the speed of its halo. The data the
funnel draws past it streams on through, home (the Data Loop), counted but not added. (It was all added: by the end of a
level 25 life the wells weighed two thirds of their stars, against a thousandth in the sky, Mullaney et al. 2012.) */
const physNow = novaCount >= U.PHYSICAL_LAYER;
for (const w of ws) { const n = res.absorbed.get(w.key) || 0; if (!n || !w.src) continue; if (physNow && w.physical) { ledger.dataThrough = (ledger.dataThrough || 0) + n; continue; } w.src.mass = (w.src.mass || 1) + n; fell += n; }
if (physNow && rings && matter && matter.dark && matter.ok) {
…
In the game
Between Harmonic 2 and Harmonic 3 this is the visible life of the Proto Wells: the data cells round each one wheel about it and fall in. With the drawer's color option on, "At Start the Pulsecore's data is painted as a colour wheel round its centre … so the spin, the flow and the wells' swirl show as moving colour" (index.php:215), and the player can watch each Proto Well's basin turn into a little vortex of color. The marks grow as their mass grows: the scene is told every 8 steps that a well has fed (app.js:867). The HUD Void line adds "· N into wells" once data has fallen in (ledger.funnel, app.js:2155). After the big bang the same swirl runs under the stars, round every well, site and heavy cluster; the data that falls into a physical well streams through it and is not added to its mass, and only the slow capture of Data Matter adds to it.
The scale model
The data layer is drawn cells. A drawn Proto Well's mass in cells grows by the drawn data it takes in. Data Matter is the drawn field's dark mass per block (darkField(), the dark-sector chapter). The capture uses the game's G, 𝒞→ and drawn masses, so it is the law at the model's scale.
Where the game and the theory differ
- In the physics the Kepler turn of a well reaches as far as its pull, falling off as √(GM/k³) with no edge. In the game a well turns and draws in the data only within its reach, which is never more than 24 cells or a quarter of the field (gravity.js:33, 46), whatever its mass.
- BPT Part 2.9 has every particle a swarm of data, so all matter turns the data. The game lets the 24 heaviest bodies of 16 cells or more do so (app.js:829); lighter bodies and the rest turn none.
Fixed numbers
| Number | Where | What it is | Kind |
|---|---|---|---|
| 16 | app.js:829 | least body mass that turns the data | CAP (a floor on which bodies act) |
| 24 | app.js:829 | heaviest bodies that turn the data | CAP (a fixed count) |
| 40,000 | app.js:831 | accumulator keys before clearing | METHOD (memory bound; the fractional turns restart) |
| 24 | app.js:838 | wells before the nearest-neighbor reach is used | METHOD (below it the default reach is cheap) |
| 2 | app.js:840 | least bin side | METHOD |
| 2 (in 2√(area/n)) | app.js:840 | bins about two spacings wide | METHOD |
| ½ | app.js:845 | reach = ⌈d/2⌉, halfway to the nearest well | METHOD (halfway is where the next well's pull takes over) |
| 2 | app.js:845 | least reach, in cells | CAP (a floor on reach) |
| 24 | WellDynamics gravity.js:33 |
default reach, in cells | CAP (caps every well's data reach; set by no law) |
| 1/4 | gravity.js:46 | reach ≤ a quarter of the field | CAP (geometry floor on the torus, still a fixed cut) |
| 16π | app.js:863 | capture coefficient | PHYSICS (Shapiro & Teukolsky 1983; BPT Part 3.14) |
| 1e-6, 10⁻³ | app.js:862 | halo speed floor and default, ×c | METHOD (guards when no galaxy has been read) |
| 8 | app.js:867 | steps between scene updates | DISPLAY |
Measured
- "400 wells reaching 64 rings each was most of a flip" (comment app.js:834–836, 8.2).
- "by the end of a level 25 life the wells weighed two thirds of their stars, against a thousandth in the sky, Mullaney et al. 2012" (comment app.js:853–854, 2026-10-28). This was why absorbed data stopped being added.
Part 3.12: Wells and Sites in the Gravity Grid: binWells, nPull, wellsNear and the P³M Switch
The BPT law
BPT Part 3.14 (Galaxies: the Wells and the Stars Around Them) makes a galaxy "a well's basin gathering stars": its Data Matter, "laid on the scaffold before any matter (Part 3.13), is its dark halo; the Proto Well at the halo's densest place is its site, where its central well is born." Its reading of the game says a site "pulls and gathers its galaxy but is no well." The code reads that as a site that pulls only through the grid (matter.js:242–245, ruling 2026-10-29). How the pull is computed is not a BPT law. BPT does not state this; it is a game method that serves the Formation Condition's sites and the galaxies built round them.
The established physics
The particle-particle/particle-mesh (P³M) split: a mesh carries the long-range force, and near neighbors pull directly (Hockney & Eastwood 1988, as the code names it). Cloud-in-cell deposit and interpolation are part of the same method.
The game's math
The grids. Matter.meshForces(wells) matter.js:212 builds two potentials on the B-cell mesh by FFT Poisson.
- (ar, ac), felt by bodies: matter + Data Matter + every well's mass, deposited cloud-in-cell.
- (arW, acW), felt by wells: matter + Data Matter + sites only (
Ms, matter.js:246–249). A well does not pull on itself through the grid, and a site is felt only here.
binWells(wells) matter.js:272:
nPull= the count of wells that are not sites.- Each well's softening
_soft = reach(w)(Part 3.10) is stored once. - The pulling wells are binned by mesh block.
- If more than 8 pull and the mesh is wider than 7 blocks, each well writes itself into the 7 × 7 blocks around it. A body's near-well list is then one lookup (2026-10-28; profiled: 14 % of a step).
wellsNear(r, c, R, wells) matter.js:291 returns the wells within R blocks:
- all pulling wells when
nPull≤ 8, or when 2R + 1 spans the mesh; - the cached 7 × 7 list when R = 3;
- else it gathers from the bins.
accel(b, wells, isWell) matter.js:331:
- A site moves with the bodies' grid alone: cloud-in-cell interpolation of (ar, ac). No direct pull.
- A body feels its grid and each well within 3 blocks directly, with the softened pull a = near·G·M/(d² + ε²) and near = max(0, 1 − d/(2B)), so the direct pull fades out by two blocks where the grid holds it.
- A well, with
nPull≤ 256, feels the wells' grid (arW) and every other pulling well directly at every range (near = 1). - A well, with
nPull> 256, is treated as a body:isWellis turned off, so it feels the full grid (wells included) and the wells within two blocks directly, fading. This is the P³M switch (2026-10-29; profiled at level 202).
The method, in plain steps:
two gravity grids by FFT: one felt by bodies (all mass), one felt by wells (matter and sites only)
bin the wells that pull; with many, each writes itself into the 7 × 7 blocks around it
a body feels its grid plus each well within 3 blocks directly, fading out by two blocks
a well feels the wells' grid and every other well directly; past 256 wells it is treated as a body (P³M)
The code:
// public/game-v8.4/matter.js:272 binWells()
binWells(wells) {
const { B, GR, GC } = this;
this.wellBins = new Map(); this.binnedFor = wells; this.nearCache = new Array(GR * GC);
const all = wells; wells = wells.filter((w) => !w.site); this.nPull = wells.length; /* a site pulls through the grid alone (meshForces) */
for (const w of all) w._soft = this.reach(w); /* the softening, once a binning, not at every pull */
for (const w of wells) { const k = (((Math.floor(w.r / B)) % GR) + GR) % GR * GC + ((((Math.floor(w.c / B)) % GC) + GC) % GC); if (!this.wellBins.has(k)) this.wellBins.set(k, []); this.wellBins.get(k).push(w); }
/* ⚠️ THE BODIES' NEAR WELLS, SCATTERED ONCE (2026-10-28, the author: "big skips ... each time the bar moves"; profiled: 14 % of a physical
step was each block of bodies gathering its 7 × 7 neighbourhood of well bins anew every sub-step): each well writes itself
into the 49 blocks round it once a binning, so a body's list is one lookup. The same lists as before, in the same order of blocks. */
if (wells.length > 8 && 7 < GR && 7 < GC) {
for (let k = 0; k < GR * GC; k++) this.nearCache[k] = undefined;
for (let a = -3; a <= 3; a++) for (let e = -3; e <= 3; e++) for (const w of wells) {
const bi = (((Math.floor(w.r / B) - a) % GR) + GR) % GR, bj = (((Math.floor(w.c / B) - e) % GC) + GC) % GC, k = bi * GC + bj;
(this.nearCache[k] || (this.nearCache[k] = [])).push(w);
}
this.nearFilled = true;
} else this.nearFilled = false;
}
// public/game-v8.4/matter.js:291 wellsNear()
wellsNear(r, c, R, wells) {
if (!this.wellBins || this.binnedFor !== wells) return wells;
if (this.nPull <= 8) { if (this._pullersFor !== wells) { this._pullersFor = wells; this._pullers = wells.filter((w) => !w.site); } return this._pullers; } /* few: every well that pulls directly (not the sites) */
const { B, GR, GC } = this, out = this._near || (this._near = []); out.length = 0;
if (2 * R + 1 >= GR || 2 * R + 1 >= GC) { if (this._pullersFor !== wells) { this._pullersFor = wells; this._pullers = wells.filter((w) => !w.site); } return this._pullers; } /* the reach wraps the torus: every well that pulls, once each */
const bi = ((Math.floor(r / B) % GR) + GR) % GR, bj = ((Math.floor(c / B) % GC) + GC) % GC, ck = bi * GC + bj;
if (R === 3 && this.nearFilled) return this.nearCache[ck] || NO_WELLS; /* filled once a binning (binWells) */
if (R === 3 && this.nearCache[ck]) return this.nearCache[ck]; /* the bodies' pull: the same list for a whole block */
for (let a = -R; a <= R; a++) for (let e = -R; e <= R; e++) { const l = this.wellBins.get((((bi + a) % GR) + GR) % GR * GC + ((((bj + e) % GC) + GC) % GC)); if (l) for (const w of l) out.push(w); }
if (R === 3) { this.nearCache[ck] = out.slice(); }
return out;
}
// public/game-v8.4/matter.js:331 accel()
accel(b, wells, isWell = false) {
/* ⚠️ MANY WELLS FEEL EACH OTHER AS THE BODIES DO (2026-10-29, the author: "the 202 universes ... just float"; profiled at level 202: with
15,000 sites every well pulled every other directly, 2 × 10⁸ pairs a sub-step, a step took 53 s and the matter barely moved). Past
256 wells a well feels the whole grid, wells included, and the wells within two blocks directly, fading as a body's do: the
particle-particle/particle-mesh split every N-body code uses (Hockney & Eastwood 1988). Fewer, every pair directly, as before. */
if (b.site) { const { B: B0, GR: R0, GC: C0 } = this, x = b.c / B0 - 0.5, y = b.r / B0 - 0.5, i0 = Math.floor(y), j0 = Math.floor(x), fy = y - i0, fx = x - j0; let ar = 0, ac = 0; /* a site moves with the grid's pull alone */
for (const [di, dj, q] of [[0, 0, (1 - fy) * (1 - fx)], [0, 1, (1 - fy) * fx], [1, 0, fy * (1 - fx)], [1, 1, fy * fx]]) { const k = (((i0 + di) % R0) + R0) % R0 * C0 + ((((j0 + dj) % C0) + C0) % C0); ar += this.ar[k] * q; ac += this.ac[k] * q; }
return [ar, ac]; }
const many = isWell && (this.nPull ?? wells.length) > 256; if (many) isWell = false;
const { B, GR, GC } = this, FR = isWell ? this.arW : this.ar, FC = isWell ? this.acW : this.ac;
const x = b.c / B - 0.5, y = b.r / B - 0.5, i0 = Math.floor(y), j0 = Math.floor(x), fy = y - i0, fx = x - j0;
let ar = 0, ac = 0;
for (const [di, dj, w] of [[0, 0, (1 - fy) * (1 - fx)], [0, 1, (1 - fy) * fx], [1, 0, fy * (1 - fx)], [1, 1, fy * fx]]) {
const k = (((i0 + di) % GR) + GR) % GR * GC + ((((j0 + dj) % GC) + GC) % GC);
ar += FR[k] * w; ac += FC[k] * w;
}
/* a body: only the wells within three blocks (the bins, while they hold this list of wells; a well moves less than a
block between rebuilds); a well: every other well */
for (const w of isWell ? wells : this.wellsNear(b.r, b.c, 3, wells)) {
if (w === b || w.site) continue;
const dr = this.dR(w.r, b.r), dc = this.dC(w.c, b.c), soft = w._soft ?? this.reach(w), d2 = dr * dr + dc * dc + soft * soft, d = Math.sqrt(d2);
const near = isWell ? 1 : Math.max(0, 1 - Math.sqrt(dr * dr + dc * dc) / (2 * B)); if (!near) continue;
const a = near * this.G * Math.max(1, w.mass || 1) / d2;
ar += a * dr / d; ac += a * dc / d;
}
return [ar, ac];
}
In the game
This is what makes the stars gather. From the big bang on, the matter falls along the scaffold toward the sites, and the player watches filaments form, clusters gather where they cross, and galaxies settle round the sites and wells (the HUD epoch line reads "Universe · expanding, N% of its final size · M stars", app.js:2152–2154; the toasts "half grown" and "the web stands" at a = 0.5 and 0.9 are held while notices are quiet, app.js:672–673). Each galaxy's stars are drawn round its well's place every frame, following it as it moves (scene3d.js:615), and larger galaxies draw two or three cold streams of stars falling in along the filaments from their nearest neighbors (scene3d.js:563–565). A site itself is never drawn; it is seen only as the place its galaxy turns round. The drawer's "Colour by" menu, once there is matter, can show the motion (hue the direction, brightness the speed) or the density (index.php:189–190), so the pull of the grid toward sites and wells can be read directly.
The scale model
The mesh is drawn: B is chosen by meshB() app.js:1169 so the mesh is at most 64 blocks a side on a phone, and 128 or 256 on a desktop by cores and memory. That device switch belongs to the gravity chapter but sets the grid the sites live on. Masses are drawn masses. At level 202 on a desktop, 16,384 drawn Proto Wells less one in sixteen failed leave about 15,360 sites, which agrees with the comment's "15,000 sites".
Fixed numbers
| Number | Where | What it is | Kind |
|---|---|---|---|
| 256 | accel() matter.js:339 |
wells before P³M for wells | METHOD (a cost switch between exact pairs and P³M; changes the force at long range only within the mesh's accuracy) |
| 8 | binWells() matter.js:281; wellsNear() matter.js:293 |
few wells: every well pulls directly | METHOD (cost switch) |
| 7, ±3 | matter.js:281–286 | the 7 × 7 near-well cache | METHOD (a body's direct-pull reach of 3 blocks) |
| 3 | matter.js:349 | a body's direct reach, in blocks | METHOD (beyond 2 blocks the fade is zero anyway) |
| 2 (2B) | matter.js:352 | the direct pull fades out by two blocks | METHOD (P³M split radius; Hockney & Eastwood 1988) |
| 0.5 | matter.js:247, 336, 341 | cloud-in-cell offset to the block center | METHOD |
| 1 | matter.js:247 | least well mass on the grid | BPT (one Zinf quantum, Part 1.8) |
| 64; 128, 256 | meshB() app.js:1172 |
mesh blocks a side by device | CAP (device-class switch) |
Measured
- "profiled at level 202: with 15,000 sites every well pulled every other directly, 2 × 10⁸ pairs a sub-step, a step took 53 s and the matter barely moved" (comment matter.js:332–333, 2026-10-29).
- "profiled: 14 % of a physical step was each block of bodies gathering its 7 × 7 neighbourhood of well bins anew every sub-step" (comment matter.js:278–279, 2026-10-28).
- "At level 202 a desktop holds 15,000 sites" (comment matter.js:245, 2026-10-29).
Part 3.13: The Inspiral: Matter Spiraling In
The BPT law
BPT Part 3.10 (After the Final Well: the Pulsing Decay): "The final well closes the census; it does not end the universe. What follows is its decay." "Stars and remnants are flung out of their galaxies or spiral into the central wells as their orbits shed energy," and "the heaviest wells go last." Before that, in the same Part: "every bit returns through a singularity on its loop home, the final well is the last of those returns, and a universe ends when all its bits have returned" (quoted at matter.js:146–148). BPT Part 3.14 adds that "Ascendant Wells grow in the decay, when the wells take in all that is left." What the orbits shed goes to the space layer: BPT Part 3.13's Gravitational-Wave Power, P_GW = (32/5) · G⁴ · m₁² · m₂² · (m₁ + m₂) / (c⁵ · a⁵), "the power two orbiting masses give the space layer."
The established physics
A circular binary shrinks by gravitational radiation as d(a⁴)/dt = −(256/5)·G³·m·M·(m + M)/c⁵ (Peters 1964). The energy given up at the last orbit follows the Barausse, Morozova & Rezzolla 2012 fit (Part 3.10).
The game's math
Matter.inspiral(wells, dtau) matter.js:152, called each decay tick in the matter stage (stepDecay() app.js:2672), with dtau the tick's growing span of flips. For each body:
- Its well is the non-site well that pulls it hardest, M/d², with d at least 10⁻⁶.
- a⁴ ← a⁴ − (256/5)·G³·m·M·(m + M)/𝒞→⁵ · dtau.
- If a⁴ ≤ r_s⁴, the body is in. The well gains m − E, with E = gwFraction(m, M)·(m + M), and E is booked to that well's
gwByand then toradiate('gwIn'). - Otherwise the body is placed at a_new = (a⁴)^(1/4) on the same line, on a circular orbit of speed min(𝒞→, √(GM/a_new)), keeping its sense of turn.
A ripple is drawn for the largest shed if it passes 10⁻⁴ of the matter (app.js:2673).
The method, in plain steps:
each decay tick, for every body:
its well ← the one that pulls it hardest, M / d²
a⁴ ← a⁴ − (256/5) · G³ · m · M · (m + M) / c⁵ · Δτ (gravitational-wave inspiral)
if a ≤ r_s → it falls in: the well gains m less what it radiates
else → it moves to the new a, on a circular orbit
The code:
// public/game-v8.4/matter.js:152 inspiral()
inspiral(wells, dtau) {
const out = new Map(); this.gwBy = new Map(); /* what each well's inspirals gave the space layer this call */
if (!wells.length || !(dtau > 0) || !(this.G > 0)) return out;
const c5 = Math.pow(this.light, 5), G3 = this.G * this.G * this.G, keep = [];
for (const b of this.bodies) {
let best = null, bp = -1;
for (const w of wells) { if (w.site) continue; const d = Math.hypot(this.dR(b.r, w.r), this.dC(b.c, w.c)), pull = Math.max(1, w.mass || 1) / Math.max(1e-6, d * d); if (pull > bp) { bp = pull; best = { w, d }; } }
if (!best) { keep.push(b); continue; }
const M = Math.max(1, best.w.mass || 1), m = b.m, rs = this.horizon(best.w), a = Math.max(1e-6, best.d);
const a4 = a ** 4 - (256 / 5) * G3 * m * M * (m + M) / c5 * dtau;
if (a4 <= rs ** 4) { const e = gwFraction(m, M) * (m + M); out.set(best.w.id, (out.get(best.w.id) || 0) + m - e); this.gwBy.set(best.w.id, (this.gwBy.get(best.w.id) || 0) + e); continue; } /* in, less what its last orbits gave the space layer */
const an = Math.pow(a4, 0.25), k = an / a, dr = this.dR(b.r, best.w.r), dc = this.dC(b.c, best.w.c);
const sense = (dr * (b.vc - (best.w.vc || 0)) - dc * (b.vr - (best.w.vr || 0))) < 0 ? -1 : 1, v = Math.min(this.light, Math.sqrt(this.G * M / an));
b.r = this.wrapR(best.w.r + dr * k); b.c = this.wrapC(best.w.c + dc * k);
b.vr = (best.w.vr || 0) - sense * v * (dc / a); b.vc = (best.w.vc || 0) + sense * v * (dr / a);
keep.push(b);
}
this.bodies = keep;
return out;
}
In the game
The decay begins when the player presses "⌛ Continue the universe" on the dive prompt (app.js:2921). On the torus the stars draw in round their wells and vanish into them, galaxy by galaxy; at each decay tick the well that took in the most sends out the cyan wave train of Part 3.10 from where it sits. When no bodies are left the galaxies are cleared from the scene ("the matter is in: no galaxy is left to draw", app.js:2681), the census is read again (Part 3.14), and the wells themselves begin to evaporate, each ending in a flash (app.js:2692–2696). The life lines of the wells show the growth: their mass "a → b" and their peak, with their share of the universe.
The scale model
G, 𝒞→ and masses are in the game's units, and dtau is in flips. The law is applied exactly at the model's scale. The decay's clock (DECAY_GROW) belongs to the decay chapter.
Where the game and the theory differ
- Peters 1964 is used in its circular-orbit form, and after each tick the body is set back on a circular orbit, so any eccentricity a body had is dropped. BPT Part 3.10 also has bodies "flung out of their galaxies"; the inspiral step only draws bodies in.
Fixed numbers
| Number | Where | What it is | Kind |
|---|---|---|---|
| 256/5 | matter.js:161 | Peters coefficient | PHYSICS (Peters 1964) |
| 5, 3, 4 (powers) | matter.js:155, 161 | c⁵, G³, a⁴ | PHYSICS (Peters 1964) |
| 1e-6 | matter.js:158, 160 | least distance | METHOD (guard) |
| 1 | matter.js:160 | least well mass | BPT (one Zinf quantum, Part 1.8) |
| 10⁻⁴ | app.js:2673 | least shed to draw a ripple | DISPLAY |
Part 3.14: Ascendant Wells and the Census
The BPT law
BPT Part 3.14 (Ascendant Wells): "Every well seeds a child, and what the child is born holding is its well's information." The laws, in order:
- Well Information. I_w = 4πGM²/(ħc·ln 2): "a well records one bit for every 4·ln2 Planck areas of its horizon" (Bekenstein 1973; Hawking 1975).
- Ascendant Mass. M≡ = √(ln 2/(4π)) · 2^(L+2) · m_P, "the well whose child is as deep as its parent," about 356 × 2^(L/3) Suns, "so always about an eighth of the universe's whole mass, Data Matter with it, at every level." M_U/M≡ = 8.1.
- Child Level. L_c = L + log₂(M/M≡): "each doubling of a well's mass makes its child one level deeper." Read against the universe it is Level from Share, L_c = L + log₂(8.1 · m/M_U).
- Ascendant Wells. "A well at the Ascendant Mass or above is an Ascendant Well: its child is as deep as its parent or deeper, and it alone carries a lineage on undiminished." They "grow in the decay … So a universe ends with a few Ascendant Wells and countless ordinary ones."
- Ascendant Ceiling. N≡ ≤ M_U / M≡: "A universe holds at most eight Ascendant Wells, and eight only if the whole universe ended in eight equal wells." Counting the matter alone it is 1.3, "at most one." And a line "can raise the next by up to log₂ 8.1 ≈ 3 levels" a generation.
BPT Part 2.10 gives the level thresholds: level 12, below which there is no stable matter, and 22.2, below which there are no stars. BPT's reading of the game: "At the final well a census reads each well's share of the universe, its mass taken with the matter it will draw in, and its child's level by Child Level; when the full decay has taken the matter in, with the Data Matter alongside, the census is read again." "Ascendant Wells are named on screen and Well #1 wears a gold hoop."
The established physics
The information of a horizon is its area in Planck units over 4 ln 2 bits (Bekenstein 1973; Hawking 1975), as BPT cites. The rest is BPT.
The game's math
takeCensus(stage) app.js:957, at the final well (stage 'final well', app.js:2547) and again when the decay has taken all the matter in (stage 'decay', app.js:2684). For each well on the field (wellsOnField() app.js:2879: real wells and Proto Wells, never sites):
M = max(uni.matterMax, matterTotal(), 1e-9) all the matter, wells included
mass = max(rec.peak, w.mass + gain) gain: at the final well, the bodies it pulls hardest
mult = starMult (stellar) | wellWeight() (proto) | 1 (heart, collapse, fold)
share = mass / M
L_c = L0 + log₂(8.1 · share / mult) L0 = uni.depth or uni.L
Ascendant if L_c ≥ L0 − 10⁻⁹, i.e. share/mult ≥ 1/8.1
Wells are ranked by mass, heaviest first: Well #1. Each child is binned by L_c, weighted by mult to give real counts:
- no_seed: L_c < 0;
- zinf_to_fork: L_c < 3;
- light_and_wells: L_c < 12;
- no_stars: L_c < 22.2;
- stars: everything above;
- ascendant: as defined above.
rupture() app.js:2538 lists the first 12 children by rank in the lineage (app.js:2550); the rest are made when tapped (Part 3.15). applyCensus() app.js:1054 gives each listed child its depth, rank and Ascendance. A child with L_c < 0 is "too small to seed". announceAscendant() app.js:985 says who is Ascendant.
minGeneration(L) app.js:2008 = ⌈L / log₂ 8.1 − 10⁻⁹⌉ is the Ascendant Ceiling read backwards: the fewest generations from the Zinf to level L.
The merger test of Part 3.10 marks a well Ascendant the moment a merger takes it past 1/8.1. The census can later confirm or withdraw that.
The method, in plain steps:
for every well on the field (never sites):
M ← all the matter; share ← mass / M; mult ← true wells per drawn well
child's level L_c ← L + log₂(8.1 · share / mult)
Ascendant if L_c ≥ L
rank by mass; bin the children: no seed (< 0), Zinf to fork (< 3), light and wells (< 12),
no stars (< 22.2), stars
The code:
// public/game-v8.4/app.js:957 takeCensus()
function takeCensus(stage) {
const all = wellsOnField();
if (!uni || !all.length) { census = null; return null; }
const M = Math.max(uni.matterMax || 0, matterTotal(), 1e-9), L0 = Number.isFinite(uni.depth) ? uni.depth : uni.L;
/* the matter each well will take in: at the final well, the bodies it pulls hardest (a satellite's go to its host) */
const gain = new Map();
if (stage === 'final well' && matter && matter.bodies && matter.bodies.length && rings) { const idx = galaxyIndex(rings.sources.filter(w => !w.stellar)); if (idx.owner) for (const [b, w] of idx.owner) gain.set(String(w.id), (gain.get(String(w.id)) || 0) + (b.m || 0)); }
const entries = all.map(w => {
const key = lifeKey(w, !!w.data), rec = lifeOf(key), kind = wellKindOf(w, rec);
const mass = Math.max(rec && rec.peak ? rec.peak : 0, (w.mass || 0) + (w.data ? 0 : (gain.get(String(w.id)) || 0)));
const mult = Math.max(1, kind === 'stellar' ? (matter && matter.starMult) || 1 : kind === 'proto' ? wellWeight() : 1), share = mass / M; /* a heart or a collapse is one well, as the count reads it (2026-10-29); a drawn stellar well stands for starMult */
const depth = share > 0 ? L0 + Math.log2(ASCENDANT_RATIO * share / mult) : -Infinity;
return { w, key, rec, kind, mass, mult, share, depth, asc: depth >= L0 - 1e-9 };
}).sort((x, y) => y.mass - x.mass);
wellRank = new Map(); entries.forEach((e, i) => { e.rank = i + 1; wellRank.set(e.key, e.rank); });
for (const e of entries) if (e.rec) Object.assign(e.rec, { kind: e.kind, rank: e.rank, share: e.share, childDepth: e.depth, ascendant: e.asc, peak: Math.max(e.rec.peak || 0, e.mass) });
/* the real counts: each drawn well stands for mult wells */
const bins = { no_seed: 0, zinf_to_fork: 0, light_and_wells: 0, no_stars: 0, stars: 0, ascendant: 0 }, byKind = {};
for (const e of entries) { const d = e.depth, k = e.asc ? 'ascendant' : d < 0 ? 'no_seed' : d < 3 ? 'zinf_to_fork' : d < DEPTH_MATTER ? 'light_and_wells' : d < DEPTH_STARS ? 'no_stars' : 'stars'; bins[k] += e.mult; byKind[e.kind] = (byKind[e.kind] || 0) + e.mult; }
for (const k in bins) bins[k] = Math.round(bins[k]); for (const k in byKind) byKind[k] = Math.round(byKind[k]); /* whole wells */
const rr = (v, p = 4) => (Number.isFinite(v) ? +v.toPrecision(p) : null);
census = { stage, depth: rr(L0), matter: rr(M), wells_drawn: entries.length, wells_real: Math.round(entries.reduce((s, e) => s + e.mult, 0)), by_kind: byKind, child_depths: bins,
ascendant: entries.filter(e => e.asc).map(e => ({ rank: e.rank, id: e.key, kind: e.kind, share: rr(e.share), depth: rr(e.depth) })),
top: entries.slice(0, 40).map(e => [e.rank, e.key, e.kind, rr(e.share), rr(e.depth, 4), e.asc ? 1 : 0]), entries };
return census;
}
In the game
The census is read when the HUD Rupture line turns to "final well formed" (app.js:2141), at 2^L Tempos from the big bang, and again at the end of the decay. From then on the ranks are on screen. Well #1, the heaviest, wears a thin gold hoop a little wider than its black core, always facing the viewer, between 22 and 48 px across, dimmed when the well is on the far side, and moving to whichever well is #1 (placeAlphaHoop() scene3d.js:1700; "the Alpha Well in the book, never named on screen"). Its halo is drawn 2.2 times wider in pale gold-white; each Ascendant Well's halo is 1.7 times wider in gold and carries a tag "#rank · Ascendant" that floats with it (scene3d.js:1521–1522, 1554). The notices "an Ascendant Well … Well #1 holds 14% of the universe, its child at level 25.3" or "no Ascendant Well yet: Well #1 holds 2.1% of the universe; an Ascendant Well holds 1/8.1 (12%)" (app.js:991–992) are held while notices are quiet. The run summary, "Returned to the Source", carries a card "Ascendant Wells" with "Well #1 holds 2.1% · its child at level 21.4" ("· after the decay" once the decay census is read), and, when there are none yet, the line "No Ascendant Well yet: they are made in the decay, as the wells merge and take in all that is left. Continue to full decay to see them." (app.js:2806, 2782). The Lineage panel lists the ranked children with their levels, and each life line names its child's level and whether it is "light and wells only" or "no stars: a dead end".
The scale model
A census entry is a drawn well. Its mult converts the drawn count to the true count. A proto entry divides its share by wellMult, because one drawn Proto Well stands for wellMult true ones that share its mass. A stellar entry divides by starMult. A heart or collapse well counts as one well, as the count reads it (comment app.js:967, 2026-10-29).
Where the game and the theory differ
- At most eight. The code does not hold the count to eight; in the theory the bound is a consequence: if every share is at least 1/8.1 and the shares sum to at most one, at most ⌊8.1⌋ = 8 can be Ascendant. In the code the shares need not sum to one. A well's mass is the larger of its peak and its mass plus its projected gain. A well that lost mass to radiation keeps its peak, and the gain is projected. The sum of shares can therefore pass one slightly, so the code does not guarantee eight at most, though a ninth would need the heaviest wells to hold nearly everything.
- What M counts. BPT's M_U counts the Data Matter with the matter, and with the matter alone the ratio is 1.3, not 8.1. The game's M is
matterTotal()app.js:948, the bodies and the wells, without the uncaptured Data Matter. The comment at app.js:938–940 gives the reading: the Data Matter "is taken in by the wells in the decay alongside the matter, so a well's share of the matter is its share of everything." The two agree when the wells take in the Data Matter in the same shares as the matter.
Fixed numbers
| Number | Where | What it is | Kind |
|---|---|---|---|
| 8.1 | ASCENDANT_RATIO app.js:946 |
M_U/M≡ | BPT (Ascendant Mass, Part 3.14) |
| 22.2 | DEPTH_STARS app.js:946 |
no stars below it | BPT (Star Existence Condition, Part 2.10) |
| 12 | DEPTH_MATTER app.js:946 |
light and wells only below it | BPT (Part 2.10) |
| 0 | app.js:968, 975 | under a Zinf-level seed | BPT (Seed Mass, Part 3.14) |
| 3 | app.js:975 | First Fork level | BPT (FIRST_FORK_LEVEL universe.js:54; Part 3.14) |
| 1e-9 | app.js:960, 969, 2002 | round-off guards | METHOD |
| 40 | takeCensus() app.js:980 |
census rows written in top |
RECORD |
| 4 | app.js:977 | significant figures kept | RECORD |
| 3 | announceAscendant() app.js:991 |
Ascendant Wells named in a toast | DISPLAY |
| 12 | rupture() app.js:2550 |
children listed in the lineage at the final well | RECORD (the rest are made on a tap) |
Part 3.15: The Dive: promptDive(), diveAt(), pickWellFromScene()
The BPT law
BPT Part 3.10 gives the Return to Bifurcation, ∅L → (0 ⥂ 1)(g+1), once per well: "The null left by a dissipated universe is the Pre-Pulse Field of its children: each well bifurcates as a new UniSphere one generation on." "Each child inherits its parent's well: its null mass, its spin a_f through the Inherited Spin Parameter, and its heritage," and "its generation count advances by one." The bifurcation and the Return to the Source "are one event: the data a well returns to the Source is the recursion that seeds its child. A failed universe is the exception that shows the two apart: its data returns, and nothing is seeded." BPT Part 3.9 (Fractal Progeny) states the general rule: "Every black hole potentially births new Universes through Null Well Collapse." The ruling of 2026-10-27, quoted at app.js:2883–2886, reads: "EVERY WELL SEEDS ITS CHILD." How the player chooses which child to play is not a law. BPT does not state this; it is a game method that serves the Return to Bifurcation.
The established physics
None: a game method.
The game's math
promptDive()app.js:2917, once the universe has returned to the Source, shows the prompt with the count of wells held, and a button to continue into the full decay.diveAt(r, c)app.js:2924, for a tap on the 2D field, finds the nearest well on the field (wrapped distance). If it is farther than max(3, min(rows, cols)/10) cells, the prompt shows again. Otherwise it callsdiveWell().- In 3D,
pickWellFromScene(u)app.js:2935 picks by the marker the scene hit (pickWell()in scene3d.js, at most every 80 ms on hover), since a well on the far side is drawn in front. Wells drawn without a mesh, the dark and quiet ones, are found by their place on the skin. diveWell(best)app.js:3159 finds the well's child: listed at the final well, or made on demand from the field as it stood then (childOnDemand). A child that failed, or a well too small to seed (L_c < 0), says so. A first tap selects and shows the child's level, generation, Ascendance, galaxy, spin and ⟪C⟫. A second tap on the same well plays it.diveHeldstops a held press from choosing twice. It clears on pointer up.
There is no hidden function named pickWell in app.js. The picking is pickWellFromScene() in 3D and diveAt() in 2D.
The method, in plain steps:
after the return to the Source:
a tap on the 2D field → the nearest well, if within max(3, side / 10) cells
a tap in 3D → the well whose marker the scene hit
first tap: show its child (level, generation, Ascendance, spin, ⟪C⟫); second tap: play it
a failed child, or a well too small to seed, says so
The code:
// public/game-v8.4/app.js:2924 diveAt()
function diveAt(r, c) {
if (diveHeld) return;
const ws = wellsOnField();
if (!ws.length) return;
const wd = (a, b, n) => { const d = Math.abs(a - b) % n; return Math.min(d, n - d); };
let best = null, bd = Infinity;
for (const w of ws) { const d = Math.hypot(wd(r, w.r, rows), wd(c, w.c, cols)); if (d < bd) { bd = d; best = w; } }
if (!best || bd > Math.max(3, Math.min(rows, cols) / 10)) { promptDive(); return; } /* no well here: the prompt again (it set diveHeld, which kept every later tap from choosing, 2026-10-29) */
diveWell(best);
}
// public/game-v8.4/app.js:3159 diveWell()
function diveWell(best) {
if (diveHeld) return;
diveHeld = true;
const ch = childOfWell(best) || childOnDemand(best);
const rec = lifeOf(lifeKey(best, !!best.data));
const name = rec ? lifeTitle(rec) : wellLabel(best, !!best.data);
const origin = rec ? [rec.proto ? 'began as a Proto Well' : `born ${rec.how}`, ...rec.mergers.map(m => `merged with ${m.with}`)].join(' · ') : '';
if (!ch) { diveBanner(name, 'No universe from this well', ruptureField ? 'it formed after the final well' : 'its child is seeded at the final well'); diveSel = null; return; }
if (ch.failed) { diveBanner(name, ch.noSeed ? 'Too small to seed' : 'This child failed', ch.noSeed ? 'its well held less than a Zinf-level seed, the smallest unit; its data returned to the Source' : 'it seeded nothing; its data returned to the Source'); diveSel = null; return; }
if (diveSel === ch.index) { clearDiveBanner(); playChild(ch.index); return; }
diveSel = ch.index;
const d = U.describeUniverse(ch);
const kind = ch.outcome && ch.outcome !== 'viable' ? ` · ${ch.outcome === 'branch' ? 'branch-line offshoot' : ch.outcome}` : '';
const gal = galaxyOf(best, rings ? galaxyIndex(rings.sources.filter((w) => !w.stellar)) : null), w0 = lang ? lang.wordAt(...dataCell(best.r, best.c)) : null, word = w0 && /^⟨/.test(w0) ? `a ${w0.slice(1, w0.indexOf('⟩'))}-letter word` : w0;
diveBanner(name, `Next Universe – Level ${fmtLevel(Number.isFinite(ch.depth) ? ch.depth : ch.L)} · generation ${(uni.generation ?? 0) + 1}${ch.ascendant ? ' · Ascendant' : ch.deadEnd ? (ch.depth < DEPTH_MATTER ? ' · light and wells only' : ' · no stars') : ''}`, `${gal ? gal.text + ' · ' : ''}${word && word !== '∅' ? 'written by ' + (word.length > 16 ? word.slice(0, 15) + '…' : word) + ' · ' : ''}${origin ? origin + ' · ' : ''}a_f ${d.a_f.toFixed(3)} · ⟪C⟫ ${d.C.toFixed(3)}${kind} · tap the well again to dive in`);
}
In the game
When the universe has returned to the Source the torus stays, dimmed, with its wells (scene3d.js:1208), and a banner reads "N wells held · returned to the Source", "Tap a well to dive in", "each seeds a next universe one level deeper", with the button "⌛ Continue the universe" until the decay has run (app.js:2921). A first tap on a well brings up its card: its name ("Proto Well 3 → Well #7 · Ascendant"), then "Next Universe – Level 25.3 · generation 1 · Ascendant" (or "· light and wells only", "· no stars"), then its galaxy, the word written at its place, its origin ("began as a Proto Well · merged with Well #9") and its child's a_f and ⟪C⟫ (app.js:3173). A second tap plays the child. A well with no child says "No universe from this well"; a failed child "This child failed · it seeded nothing; its data returned to the Source"; a well too small "Too small to seed · its well held less than a Zinf-level seed, the smallest unit; its data returned to the Source" (app.js:3166–3167). The run summary's button for the next child and the Lineage panel's per-child "Play" buttons are the other ways in.
The scale model
A drawn well is tapped. Its child stands for the child of any of the wellMult wells it represents, at the depth its share gives (Part 3.14).
Fixed numbers
| Number | Where | What it is | Kind |
|---|---|---|---|
| 3, 1/10 | diveAt() app.js:2931 |
tap reach, in cells | DISPLAY (touch tolerance; no effect on physics) |
| 16, 15 | diveWell() app.js:3173 |
word shown up to 16 letters | DISPLAY |
Part 3.16: Gravity Rings: RingField and the Adaptive Ring Search
The BPT law
BPT Part 2.8 defines the beat the rings keep: the Local Universe Time Crystal duration is "the Pulse Rhythm: the time to cross the Pulse Diameter one way," ⧖⌂ = ↁℨ⧖ × 2ⁿ × f₀ⁿ × ⟪C⟫. BPT Part 7.5 (The Resonant Field of Becoming, Interference Dynamics) gives how pulses add where they meet: the Constructive Interference Amplitude, A⋓ = |Σ_i A_i e^(iφ_i)|, which is greatest "when phase relationships satisfy integer multiples of 2π (φ_i − φ_j = 2πn)", with destructive interference at (2n + 1)π making null zones of radius r∅ = λ/4. The game's rings join the two. The comment at rings.js:4–15 reads: "Every well of a universe pulses, and each pulse sends a ring outward at one cell per pulse: the Pulse Diameter per Rhythm." It cites BPT Part 2.8 for the Pulse Rhythm as the Time Crystal duration, Chapter 7 for interference and harmonics, and Chapter 5 for phase coupling. Where k rings meet in the same frame is a convergence of depth k: 2 at a vesica tip, 3 where three petals touch, 6 at a daisy's center (the flower of life). That each well sends rings is the game's reading of the Pulse Rhythm; BPT does not state rings from wells as such. Their search is a game method.
The established physics
None: a game method. Two circles meet at zero, one or two points, by plane geometry (circleMeets() rings.js:70).
The game's math
ensureRings() app.js:565 builds the field:
new RingField({ period: pulseLength = 2, speed: 1, maxRadius: max(rows, cols)/2,
eps: 0.35, maxRings: 10, maxSources: max(4000, ⌊rows·cols/4⌋), ringSources: 32 })
- Rings of a well,
radii(src, t)rings.js:42: one ring per period since birth, radius (age − k·period)·speed. They stop atmaxRadiusor at the newestmaxRings. - A ring through a point,
ringThrough()rings.js:55. A ring of radius d left at age − d/speed. It exists if that time is within eps/speed of a multiple of the period. - The search,
step(t)rings.js:87. It takes the youngestringSourceswells. For each pair, and each pair of their rings with both radii at least 2, it finds where the circles meet. Each meeting is checked against every other well's rings, and the depth is the count passing through. A meeting that recurs at the same rounded spot, seen on three beats with depth ≥ 2, is announced as a time crystal (a node). A crystal unseen for 4 periods is forgotten.alive(t)returns crystals seen within one period. The search is O(n²·r²·n) in the n wells searched. - The adaptive count,
stepFinds()app.js:1924–1929. The search is timed each step. If it took under 4 ms and more wells exist than are searched,ringSourcesgrows by 15 %. If it took over 8 ms, it shrinks by 15 %, never below 8 (ruling 2026-10-29: "swap that"; it was a fixed 32). - Node finds are off.
NODE_FINDS = false(app.js:231, ruling 2026-10-28): the rings still meet and are drawn, but their meetings are not collected.
The sources are the wells. rings.sources is the game's list of physical wells and sites, which every other Part reads.
The method, in plain steps:
each well sends a ring every period (2 flips), growing one cell a flip, at most 10 rings
a ring passes a point if it left at a time within eps of a whole period
each step, for the youngest wells searched: where two rings meet, count the other rings through that point
a meeting that recurs three beats with depth ≥ 2 is a node (not collected in 8.4)
time the search: under 4 ms → search 15% more wells; over 8 ms → 15% fewer, never below 8
The code:
// public/game-v8.4/app.js:564 ensureRings()
function ensureRings() {
if (!rings) rings = new RingField({ period: pulseLength, speed: 1, maxRadius: Math.max(rows, cols) / 2, eps: 0.35, maxRings: 10, maxSources: Math.max(4000, Math.floor((rows * cols) / 4)), ringSources: 32 }); /* as many wells as the field has room for (2026-10-29) */
return rings;
}
// public/game-v8.4/rings.js:42 radii()
radii(src, t) {
const out = [];
const age = t - src.born;
if (age < 0) return out;
for (let k = Math.floor(age / this.period); k >= 0; k--) {
const radius = (age - k * this.period) * this.speed;
if (radius > this.maxRadius || out.length >= this.maxRings) break;
if (radius > 0) out.push(radius);
}
return out;
}
// public/game-v8.4/rings.js:55 ringThrough()
ringThrough(src, r, c, t) {
const d = Math.hypot(r - src.r, c - src.c);
const age = t - src.born;
if (age <= 0 || d > this.maxRadius) return false;
// a ring of radius d left at age − d/speed; it exists if that is a multiple of the period (within eps)
const left = age - d / this.speed;
if (left < 0) return false;
const k = Math.round(left / this.period);
return Math.abs(left - k * this.period) * this.speed <= this.eps;
}
// public/game-v8.4/app.js:1924
const t = pulseCounter;
const tR0 = performance.now(), res = rings.step(t, rows, cols), tR = performance.now() - tR0;
/* ⚠️ HOW MANY WELLS' RINGS ARE SEARCHED (2026-10-29, the author: "swap that"; was a fixed 32): the search for where rings meet grows as the
cube of the wells in it, so the device sets it: the youngest wells, more while a search takes under 4 ms, fewer past 8 ms */
if (rings.sources.length > rings.ringSources && tR < 4) rings.ringSources = Math.ceil(rings.ringSources * 1.15);
else if (tR > 8) rings.ringSources = Math.max(8, Math.floor(rings.ringSources * 0.85));
In the game
The rings are drawn in the 2D view ("2D · the field" in the view menu, index.php:141), from the big bang on: every well and every site sends thin cyan circles out from its center, one a Tempo, fainter as they widen (drawGrid() app.js:4133–4138). Where rings meet in step the live crystals show as small diamonds, colored by their rarity's hue and larger for a greater depth, 3 + 1.5·depth pixels (app.js:4141–4144). The drawer switch "Show the wells' rings" (index.php:195, on by default) turns the circles off in 2D; in 3D the same switch shows or hides the halo ring round each well and each Proto Well (scene3d.js:1526, 1646). The 3D view does not draw the expanding rings. Its crystal markers, small glowing octahedra, at most 120 (setCrystals() scene3d.js:1773–1781), are cleared once the matter is drawn (scene3d.js:1775), and the rings only begin at the big bang, when the first wells and sites join rings.sources, so in 3D the meetings are not marked. The help card "Finds" tells the player: "Every well sends rings; where rings meet in step a harmonic node forms, deeper where more meet" (index.php:310). While NODE_FINDS is off the meetings are drawn but no node is added to the Collection.
The scale model
The rings are drawn in drawn cells and flips. One ring per Tempo per drawn well. The ring search covers only the youngest ringSources drawn wells, so convergences among older wells are not found. That only bears on what is found, not on any physics.
Where the game and the theory differ
addSource()rings.js:34 still drops the oldest source when the list passesmaxSources:if (this.sources.length > this.maxSources) this.sources.shift(). The comment at rings.js:26–27 says sources "are no longer dropped". That holds only while the list stays undermaxSources= max(4,000, ⌊rows·cols/4⌋): 4,000 on a phone and 16,384 on a desktop. On a desktop at level 202, the comment at matter.js:245 counts about 15,000 sites, which leaves room for fewer than 1,400 more wells. Past that, the oldest well or site is silently removed from gravity, the census and the lineage.- The rings live on a torus, but
circleMeets()rings.js:70 andringThrough()rings.js:55 use plain plane distance, andstep()skips meetings that fall outside the field (rings.js:101), so rings that meet across the seam are not found. The rings also stop at half the field,maxRadius= max(rows, cols)/2.
Fixed numbers
| Number | Where | What it is | Kind |
|---|---|---|---|
| 2 | pulseLength app.js:51 |
period: a ring per Tempo, two flips | BPT (Pulse Rhythm, Part 2.8) |
| 1 | app.js:565 | ring speed, a cell a flip | BPT (Pulse Diameter per Rhythm, Part 2.8) |
| 1/2 | app.js:565 | maxRadius, half the field | CAP (a fixed reach; the meeting geometry ignores the wrap, so half the field is where it stops being right) |
| 0.35 | app.js:565 | eps, how close a ring must pass | METHOD (tolerance on a rasterized ring) |
| 10 | app.js:565 | maxRings, newest rings checked | CAP (older rings are not searched) |
| 4000, 1/4 | app.js:565 | maxSources | CAP (past it the oldest well is dropped from the game) |
| 32 | app.js:565 | ringSources at start | CAP (the starting search count) |
| 3, 400, 0.6, 6, 24, ∞ | rings.js:19 | constructor defaults, all overridden by ensureRings() |
CAP (not in effect) |
| 2 | rings.js:99 | rings under radius 2 skipped: "right on a well is the well" | METHOD |
| 1e-9 | rings.js:79 | tangent test | METHOD |
| 3 | rings.js:126 | beats seen before a crystal is announced | METHOD (a pattern must repeat) |
| 2 | rings.js:126 | least depth of a crystal | BPT (a vesica, two rings; rings.js:13) |
| 4 | rings.js:129 | periods before a crystal is forgotten | RECORD |
| 1 | rings.js:133 | crystal alive within one period | DISPLAY |
| 4 ms, 8 ms | app.js:1928–1929 | search time budget | CAP (a device-time budget on the wells searched) |
| 1.15, 0.85 | app.js:1928–1929 | growth and shrink steps | METHOD (control-loop gains) |
| 8 | app.js:1929 | least wells searched | CAP |
| 12 | app.js:1940 | pulses between node pops (inert while NODE_FINDS is false) | DISPLAY |
| 3, 1.5 | drawGrid() app.js:4142 |
2D crystal diamond size, 3 + 1.5·depth px | DISPLAY |
| 120 | setCrystals() scene3d.js:1777 |
crystal markers drawn in 3D | DISPLAY |