PulseCore

Chapter 6 · Section 11

Galaxies That Build, Merge and Keep Their Stars (v8.6)

The BPT law

BPT Part 3.14 (Wells and Galaxies) gives every heart a galaxy, its stars and gas the ones its well holds, a satellite well's stars its host's; the Disk Turn Rate sets how a disk turns, Ω_d = √(Δ_v/2)·H_f/(√2·λ⟲), fastest for the disks that formed earliest; and the Eddington Ratio of a Well makes a heart feeding near its limit a quasar. The author, 14 November 2026: "it still needs a ton of work on galaxies building and their movement and the stars movement around them."

The established physics

  • Galaxies assemble hierarchically. Small galaxies form first and merge into larger ones; the number of luminous galaxies rises as they form, and the massive ones grow by mergers (White & Rees 1978; Lacey & Cole 1993). A merger turns disks into spheroids: the late universe's massive galaxies are ellipticals and lenticulars, its forming ones spirals (Toomre & Toomre 1972; Barnes & Hernquist 1992).
  • Galaxies grow in size. At a fixed stellar mass a galaxy's radius grows about as the scale factor, (1 + z)^−1 for disks and faster for spheroids (van der Wel et al. 2014).
  • A minor merger's stars spread through the host in a few of its dynamical times, as streams and shells (Toomre & Toomre 1972; Johnston et al. 2008).
  • Quasars have an era. Their number peaks near z ≈ 2, about a third of the present scale factor, at the peak of star formation, and falls after; dimmer active nuclei (Seyferts) dominate later (Richards et al. 2006; Madau & Dickinson 2014). About one quasar in ten is radio-loud, with jets (Kellermann et al. 1989; Ivezić et al. 2002).

The game's math

The galaxies are read as before (Parts 6.1 to 6.5, app.js updateGalaxies, every Pulse from the second pass below); 8.6 changes how they are drawn (scene3d.js).

  • Each galaxy keeps its own stars (setGalaxies() scene3d.js:559). Each galaxy is a record kept by its well's id: its stars, its drawn centre, its drawn reach, its arms' angle, its type. A reading gives each galaxy its count of points (its share of the galaxies' share of the points the device draws, Part 6.8). The record adds the points it gained, each born fading in over 1.2 s (galPoint() scene3d.js:594, the same layout and light rules as Part 6.8), and lets go the ones it lost, the newest first, fading out over 1.2 s. Its stars are never redrawn at fresh places, so a reading changes the picture by what the galaxy gained or lost, not as a new picture.
  • A change of type is gradual (scene3d.js:574). When a reading gives a galaxy a new type (a spiral quenched to a lenticular, a merger's spheroid), about 35 % of its stars are let go and replaced by stars of the new type, at each reading until the type stands.
  • A galaxy grows under its stars (scene3d.js:751). A star keeps its distance as a share u of its galaxy's reach; the reach drawn is the reading's R (Part 6.5) times 0.4 + 0.6·a^0.8 (a the scale factor, expansionA), gliding to it with a time constant of 0.8 s. Small after the big bang, its full drawn size at the End of the Outward Expansion.
  • A galaxy whose well has merged falls into its host (scene3d.js:580). A galaxy missing from a reading falls into the nearest galaxy within two of their reaches together: its centre glides to the host's with a time constant of 0.9 s, its stars draw in to 0.3 of their distance and fade over 3 s; with no host near, it fades where it stands. The host's new stars fade in as its count rises.
  • The centre glides with a time constant of 0.25 s to its well's drawn place, across the torus's seam by the short way.
  • The turning (scene3d.js:749). Each star turns on its own orbit, Ω(ρ) as in Part 6.6, and the arms with their pattern. A galaxy's turning is slowed by one factor so that at its scale length it turns at most once in three seconds of the screen: a young disk turns tens of times a flip by the Disk Turn Rate, and held only to the frames' Nyquist limit (Part 6.6) an early galaxy strobed. All its stars slow together, so its inner stars still lap its outer ones.
  • The streams (placeStreams() scene3d.js:723) fall to the galaxy as drawn, its glided centre and its grown reach.
  • Quasars (scene3d.js:1728). Every well feeding at a tenth of its Eddington rate or more blazes with its glow; one in ten, by a hash of its well's id, the radio-loud, stands two jets out of the skin.
  • Quiet hearts (scene3d.js:1711). A heart feeding below a hundredth of its Eddington rate is drawn as a black point of 0.011 of the torus's span in a galaxy and 0.008 alone, half the 0.022 and 0.016 of a feeding one; Well #1 (0.03) and the Ascendant Wells (0.026) keep their marks. A quiet black hole is seen by the stars round it (Part 8.5).

The method, in plain steps:

each reading (every Pulse):
    for each galaxy read: keep its record; add the points it gained (fading in), let go the ones it lost (fading out)
        a new type: let go about a third of its points and draw new ones of the type
    each galaxy not read: it falls into the nearest galaxy within two reaches, or fades where it is
each drawn frame:
    each galaxy's centre glides to its well; its reach glides to R · (0.4 + 0.6 · a^0.8)
    its arms turn, and each star on its own orbit, all slowed by one factor to at most a turn in 3 s *(2.5 s since 18 November 2026; 9.15)*
    each star is placed at its share of the reach, its size by its fade

What one run showed

The run of 14 November 2026 (Part 9.11), at level 202: five galaxies after the big bang, all starbursts; 106 by a quarter of the final size; 156 by half; 219 at the End of the Outward Expansion; spirals the most numerous through the middle of the life, lenticulars, dwarf spheroidals and the first ellipticals rising at its close; up to 27 galaxies at a time falling into their hosts. Quasars: 5 just after the big bang, 64 to 82 between about 0.3 and 0.47 of the final size, then 9 to 24 to the end, the Seyferts rising from 0 to 64 at half the size and about 20 after.

Fixed numbers

Number Where What it is Kind
1.2 s scene3d.js:737 a star's fade in and out DISPLAY
0.35 scene3d.js:574 share of a galaxy's stars replaced at a reading of a new type DISPLAY
0.4, 0.6, 0.8 scene3d.js:751 drawn reach 0.4 + 0.6·a^0.8 DISPLAY (after van der Wel et al. 2014's growth with a)
0.8 s, 0.25 s, 0.9 s scene3d.js:737 glide of the reach, of the centre, of a falling centre DISPLAY
2 scene3d.js:580 a fallen galaxy's host is within two reaches METHOD
3 s, 0.7 scene3d.js:737 a fallen galaxy fades over 3 s, its stars drawn in to 0.3 DISPLAY
3 s scene3d.js:749 at most one turn at the scale length in 3 s of the screen DISPLAY
1 in 10 scene3d.js:1728 radio-loud quasars, with jets PHYSICS (Kellermann et al. 1989)
0.011, 0.008 scene3d.js:1711 quiet hearts' black points, shares of the torus's span DISPLAY

The second pass: stars that gather and turn (14 November 2026)

The author, after the first pass: "im seeing the stars it looks pretty full of stars but no coalescing around the wells, and no rotation around the wells." A census of who holds the stars (__pcCensus, app.js) and three runs found four causes.

  • The readings came in bursts (app.js measureFeeding). updateGalaxies ran when pulseCounter % 8 === 0; in the paced mode the wells' sweep runs on a later tick and is skipped when flips pile up, so the count it ran at was seldom a multiple of 8. Measured: the galaxy list re-read every 20 to 25 s of the screen, holding 4.5 × 10¹⁶ stars while the universe held 4 × 10²⁰; the wells with drawn galaxies held about 1 % of the stars. And a default universe lives about 64 flips, so even every 8 was an eighth of its life (galaxies 5, then 96, then 124). Now a reading runs once two flips have passed since the last (GAL_EVERY, one Pulse), and the wells' list once four have; a heart's feeding runs over the flips actually gone since the last reading (galGap, at most 16), where it was a fixed 8. After the change the drawn galaxies held 98 to 100 % of the stars through the whole life.
  • The stars counted for the drawing were the mass (scene3d.js setMatter). The Saturation Law of the drawn points (Part 8.7) took the real stars as the bodies' mass times starMult, about 20,000 at level 202 against 10²⁰ shining, so every layer of points was held near a fifth of its room. It now takes the stars shining, the greater of the two.
  • The galaxies' stars were too few to turn (scene3d.js galRoom()). 209 galaxies shared some 7,200 points, about 35 stars each. A galaxy's stars sit far closer than the sky's even spread, so the galaxies have their own room, a point for every 20 pixels of the screen (about 51,000 on a desktop, 16,000 on a phone), and each galaxy at least 12. A crowded galaxy's points are each dimmer by √(200/n), at least 0.35, so its added light shows its shape and not a white blot. Each point is placed without a new vector (surfacePoint, inline). Measured at one point for every 12 pixels, the frame took four times as long in the software renderer; at 20, about one and a half times.
  • The starlight covered the galaxies, and the hearts hid their middles (scene3d.js paintStarlight, setWells). The starlight skin was read from a million stars to 10²² a patch, so every patch of a deep universe was near full, an even carpet of fixed dots over the galaxies too, and the gas's glow added dots. It now holds only the stars outside every galaxy (a body with b.gal set is drawn by its galaxy), the field and intracluster stars, about a tenth of the light in the sky (Zibetti et al. 2005); each patch is read against the brightest across three decades (to the power 1.6), and its dots come from the stars alone, a second texture apart from the colour. A heart inside its galaxy, other than Well #1 and the Ascendant Wells, is drawn as a black point of 0.005 of the torus's span with its ring hugging it, its disk 0.012 of the span, and its quasar or Seyfert glow 0.45 of the size alone: a black hole is millionths of its galaxy across, and the black cores, as wide as their galaxies' bright middles, had left each galaxy a thin orange ring.

What the run after showed (to 0.6 of the final size, the same level and settings): 151 galaxies, 132 spirals, 12 starbursts, and lenticulars, dwarf irregulars and spheroidals; 52,000 galaxy points; up to 8 galaxies at a time falling into their hosts; the galaxies distinct clusters on a dark sky with the filaments faint between them, spirals as orange disks with their arms, starbursts blazing white; no errors.

Number Where What it is Kind
2 flips app.js GAL_EVERY a galaxy reading once two flips have passed METHOD
4 flips app.js measureFeeding the wells' list once four have passed METHOD
16 app.js galGap the most flips a heart's feeding runs over CAP
8 px (20 px before 18 November 2026) scene3d.js galRoom() the galaxies' room, a point for every 8 pixels DISPLAY (measured cost)
12 scene3d.js setGalaxies() the fewest points a galaxy DISPLAY
√(200/n), 0.35 scene3d.js placeGalaxies() a crowded galaxy's points dimmed DISPLAY
3 decades, 1.6 scene3d.js paintStarlight() the starlight read against its brightest patch DISPLAY
0.005, 0.012, 0.45 scene3d.js setWells() a heart in its galaxy: black point, disk, glow, shares DISPLAY

The galaxies' own room, the satellites, and the streams' floor (16 November 2026). (The turn cap given here, a turn in two seconds, is a turn in four since 18 November 2026; Chapter 9.) Three changes with the sky work of Chapter 8. The galaxies' point budget was a share (galShare) of the sky's stars in the galaxies' room, and with most stars outside the drawn galaxies that share starved them; a galaxy's real stars now saturate the galaxies' room on their own, at least 24 points a galaxy and 10 a dwarf. A satellite, a well inside a heavier halo (Part 6.2), drew nothing of its own and was set aside as a dark well, which is why a sky of thousands of wells showed about ninety; each is now drawn as a dwarf galaxy inside its host, its stars a share of the host's by mass (between 2 and 30 %), a fifth of the host's drawn size scaled by the root of that share, turning with the host, its well drawn small at its centre; the host keeps its drawn size, since dwarfs are left out of the neighbour rule of Part 6.5, and a dwarf's stars are left out of the galaxies' total, since they are its host's (counted twice they drove the share to 1 and the streams' budget to nothing: measured, 73 stream points to 0). The streams of Part 6.9 have a floor, 12 points for each of the largest fifth of the galaxies, since with every body inside a halo the infall share read 0 and no stream was drawn; and the turn cap of Part 6.11 is a turn in two seconds at the scale length, was three (the author: "things arent moving around enough").

A well at every lit site, and why the sites were dark (16 November 2026). The author at level 202: "there should be more than 200 wells for a 202 level universe!" Measured headless at 60 % of the final size, the model held 153 to 183 wells and about 1,100 sites still waiting for a heart. Three causes, each found by measurement and each a scale-model artefact. First, a site was filled only when a drawn stellar well was born inside it, and a drawn lot stands for starMult stars (4 × 10¹⁷ at level 202), so a galaxy shining with 10²⁰ stars could wait all its life for a drawn death; by Part 3.14's own rule, a well is born "by its first dying star sinking to its heart", and by the real count that star has died within a flip of the first light (a 25-Sun star lives 7 Myr, a flip at level 202 is about 170 Myr). A site lit for two flips now gets its heart, a 10-Sun remnant (firstStarHearts, app.js), counted as a well born in its site as a direct collapse is. Measured: wells 167 to 250, and 98.9 % of all stars in galaxies round a well. Second, the sites' conditions were tallied (the new __pcSites hook): of 1,070 waiting at 40 %, 658 had gas but read as cold little halos, median virial temperature 1,780 K and circular speed 7 km/s, too warm to cool and then stripped at reionization, because the heat is read from the model's motions at the level-6 scale; the other 412 had no bodies within reach at all. A halo is now judged by its real mass too (heat.js galaxyHeat, mSuns = M · realPerCell): above the filtering mass M_RETAIN = 10⁹ Suns (Okamoto, Gao & Theuns 2008; Gnedin 2000) it keeps at least a quarter of the full rate times the Baryon Retention at its real circular speed, v_c ≈ 100 km/s · (M/10¹² Suns)^(1/3). Third, star formation's own density gate (stars.js: a cloud denser than twice the model's mean) held the same sparse clouds dark; a cloud whose real mass is above M_RETAIN now passes it, its rate still the heat's and the depletion law's. Measured with all three at 35 % of the final size: 1,035 wells (951 in the census), 394 sites waiting, 754 galaxies drawn, 833 wells on screen, two thirds of the skin above half brightness, 1,489 stream points. The 412 empty halos remain: Proto Wells whose matter went to their neighbours, dark halos in the sky's terms, drawn as nothing for now.

The review of the web (16 November 2026, late). The author: "im not seeing the filaments form, I think it needs to allow even more wells? the stars currently look just drawn onto the torus and they are in lines ... please do a huge review and ensure that all the stars are actually doing something like swirling wells or clumping together into filaments ... no matter how small the well or galaxy, the darkness at the center should be solid". The cause of the missing web was not too few wells but too many places: at level 202 the law asks for more Proto Wells than the field has blocks, so densePlaces took every block with any data, one cell wide, and 1,250 sites four cells apart blanketed the torus; once every site with a body lit (the real-mass floors of the same day), a galaxy drawn out to halfway to its neighbour stood in every gap and nothing was left dark for a filament to stand against. Two things were tried. First, seeding sites only at peaks of the data count above the mean: measured, it found almost nothing (6 galaxies, 1,130 dark wells), because at the Data Nova the data fills every place and the blocks tie; reverted the same hour. Second, the one kept: the web is the matter's contrast, so a site's galaxy is drawn, and its heart born, only where its halo holds at least HALO_GATE = 0.35 of the median halo mass of the sites that hold any (updateGalaxies, firstStarHearts); the thin halos are the voids' failed sites, dark, their few stars left to the skin's faint floor. With it: a galaxy is drawn no larger than its halo and a half (Part 6.5's neighbour share capped by w.siteR), so the space between galaxies is empty; the ripples are smoothed over three cells instead of two (zeldovich.js RIPPLE_SMOOTH), so the web's filaments and voids stand at a scale the eye reads against the galaxies. Measured at 56 % of the final size: 1,015 wells, 296 sites waiting, 746 galaxies, 781 wells on screen, drawing 167 ms median in software; the close-up shows galaxies as spirals and ellipticals with dark centres rather than a carpet of dots, the web still mild at that age, as it should be, since the ripples' contrast reaches 3 only by the final well. If the final-well web still reads flat to the author's eye, the next lever is the ripples themselves, RIPPLE_TODAY and RIPPLE_SMOOTH, not the count of wells.