PulseCore

Chapter 5 · Section 14

Star Tallies, Readouts and Well-Life Samples

The BPT law

BPT does not state this; it is the game's record. It serves BPT Part 2.9's road and BPT Part 2.10's Stars of a Universe: it reports the counts of the road (stars by class, giants, white dwarfs, neutron stars, supernovae, stellar wells) in real numbers for the level, each drawn star for starMult, so the player can set what the universe made beside N★ = 925·(m_P/m_p). The well-life samples serve BPT Part 3.14's game reading of the wells: "Each well's life, its kind, rank, peak mass, share and child's level, and the census, go on the universe's record."

The established physics

None: a game method.

The game's math

  • Tallies. At the end of stepStars() (stars.js:245–249): S.byType counts every lot's n by class (alive or remnant) and giants alive; S.alive the living; S.gasMass and S.Z the gas and its mean metals.
  • HUD. starLine(S, mult) stars.js:254: "N shining" (alive less brown dwarfs), O to M, brown dwarfs, giants, white dwarfs, neutron stars, supernovae, stellar wells, each × mult; numbers of 10¹⁵ or more are shown as a × 10ⁿ (a phone cannot show 21 digits, 2026-10-29).
  • End card. trueStars('formed') app.js:2751 is (formed − brown dwarfs)·starMult; realStars(k) app.js:2749 is S[k]·starMult; the card notes the drawn count when starMult > 1.5 (app.js:2818).
  • First events. starToasts() app.js:731: first stars (with the Sun in cells), first supernova, white dwarf, neutron star and pair-instability supernova, once each.
  • Well lives. lifeSample() app.js:920, every 4 flips (2 Pulses, pulseCounter % 4, app.js:4588), every 4 ticks of the decay (app.js:2678) and at the End of the Outward Expansion and the decay (app.js:2547, 2552, 2678): records each living well's mass and place, its peak, and the universe's most matter so far (uni.matterMax); when a well's record passes LIFE_SAMPLES = 48 points it is thinned to the first, every odd one and the last (app.js:923).

The method, in plain steps:

tally every lot by class: alive, giants, remnants, supernovae, stellar wells
the HUD: "N shining" (stars alive, brown dwarfs aside), each count × starMult
every 4 flips: sample each living well's mass and place for its life record (48 kept)

The code:

// public/game-v8.4/stars.js:254 starLine()
export function starLine(S, mult = 1) {
    if (!S || S.sun === null) return 'none yet · the gas is still too warm to collapse';
    const big = (x) => { x = Math.round(x); if (x < 1e15) return x.toLocaleString(); const e = Math.floor(Math.log10(x)), sup = String(e).replace(/./g, (d) => '⁰¹²³⁴⁵⁶⁷⁸⁹'[+d]); return `${(x / 10 ** e).toFixed(2)} × 10${sup}`; };   /* a phone cannot show 21 digits (2026-10-29) */
    const t = S.byType || {}, f = (k) => big((t[k] || 0) * mult);   /* mult: stars each drawn star stands for (8.2) */
    const g = (v) => big((v || 0) * mult);
    return `${g(S.alive - (t.BD || 0))} shining · O ${f('O')} B ${f('B')} A ${f('A')} F ${f('F')} G ${f('G')} K ${f('K')} M ${f('M')} · brown dwarfs ${f('BD')} · giants ${f('giants')} · white dwarfs ${f('WD')} · neutron stars ${f('NS')} · supernovae ${g(S.sn)} · stellar wells ${g(S.bh)}`;
}

In the game

The Stars line sits among the HUD's key lines (index.php:86), its tooltip "Stars formed from the gas past its Jeans mass, by type, with their remnants (book Parts 2.9 and 6.10)". It moves through "none before the Physical Nova", "none yet · the gas is still too warm to collapse", and then the running line of Part 5.4, "N shining · O n B n A n F n G n K n M n · brown dwarfs n · …", every count in real stars. Deep levels read in powers of ten, "1.20 × 10²²" and the like (stars.js:256).

At the end of the run the result card's Stars born box gives the real count of stars made, with "… brown dwarfs besides · … supernovae · … white dwarfs · … neutron stars · … stellar wells" and, for a scale model, "… drawn, each for …" (app.js:2818). The run record's stars object (app.js:2217) keeps each (starMult), formed, brown dwarfs, alive, supernovae, pair-instability supernovae, white dwarfs, neutron stars, stellar wells, counts by type and mean metals. The well-life samples are not drawn; they feed each well's life record and the census of Chapter 3.

The scale model

The counts are real counts by starMult; the samples are of drawn wells.

Fixed numbers

Number Where What it is Kind
10¹⁵ starLine() stars.js:256 Counts shown in scientific form from here DISPLAY
1.5 app.js:2818 starMult above which the drawn count is noted DISPLAY
48 LIFE_SAMPLES app.js:888 Points kept per well's life record RECORD
4 app.js:2678, 4551 Sample every 4 flips (and every 4 decay ticks) RECORD
2 app.js:923 Thinning keeps every second point RECORD

Part 5.15: The Stars Run On Through the Decay (v8.6)

The BPT law

BPT Part 3.10, After the Outward Expansion: the Pulsing Decay: "The End of the Outward Expansion closes the census; it does not end the universe, and it does not end its wells' making. ... First the stars run on: they go on forming from the gas that is left and dying for about 10¹⁴ years, the heavy ones still going supernova and leaving neutron stars and new stellar wells, until the last, the faintest red dwarfs, burn out (Adams & Laughlin, 1997)." The author, 15 November 2026: "there are still new wells formed after that point right? there are still stars that nova etc?"

The established physics

  • Star formation goes on long past today's epoch, falling as the gas is used: the stelliferous era lasts until about 10¹⁴ years, when the last red dwarfs, living about 10¹³ years, burn out (Adams & Laughlin 1997).
  • Every star above about eight Suns ends as a supernova, leaving a neutron star or, past the neutron-star limit, a black hole; lower-mass stars leave white dwarfs inside planetary nebulae.

The game's math

Until 15 November 2026 the star clock ran only in the life: stepStars() (stars.js) is called after each matter step (stepMatterPostCore, app.js), and the decay (stepDecay, app.js) moved the matter into the wells without it, so in the decay nothing formed, nothing died, no supernova flashed and no stellar well was born.

(18 November 2026: the decay's step is no longer a fixed growth; it is paced by how much of the universe changes a tick, Methodology 9.15.) In v8.6 the decay's matter stage calls the same stepStars() each tick, on the decay's own clock: the tick's time step is dtau = d.tau·(2^(1/6) − 1) flips, d.tau the flips since the End of the Outward Expansion (it grows by 2^(1/6) a tick, DECAY_GROW), and the stars' clock is (flips from the big bang to the end + d.tau)/2 Tempos, as in the life. With the same Sun and the same lifetimes, tauSun·m^(−2.5), a lot dies when its life is spent; the supernovae and planetary nebulae flash (merges), heat their gas (applyFeedback), and the wells the dying stars leave are registered by registerStellarWells(), the life's own code, now one function the life and the decay share. The gas left forms stars at the same law, its time step the tick's. The decay's banner counts them: "stars still dying: N supernovae and M new stellar wells since the outward expansion ended". When the matter is all in the wells, the stars go with it and the wells' stage begins as before.

The method, in plain steps:

each decay tick, while matter is left:
    the matter moves, falls into the wells, merges (as before)
    the stars step by the tick's time, dtau = d.tau · (2^(1/6) − 1) flips, their clock at the end of the life + d.tau
        new stars from the gas left; each lot dies when its life is spent
        supernovae and nebulae flash and heat their gas; the heaviest leave new stellar wells, registered as in the life

Fixed numbers

Number Where What it is Kind
2^(1/6) DECAY_GROW app.js the decay clock's growth a tick METHOD (as before)
dtau app.js stepDecay() the stars' time step in the decay, the clock's growth that tick METHOD