Model notes
Scales and coordinates
The hole has selectable mass 10⁵ or 10⁶ M☉, spin a = 0.80 and illustrative geometric charge q = 0.05. The observer is a zero-angular-momentum observer (ZAMO). Boyer–Lindquist coordinates use signature (−,+,+,+), G = c = M = 1, and +z along the spin. The length unit GM/c² is 147,663 or 1,476,625 km. The time unit GM/c³ is 0.49255 or 4.92549 seconds. The initial radius is 49 r_g, inclination 1.10 rad (27.0° above the equator) and azimuth 0.15 rad. Dragging changes the viewing position on a sphere, and wheel, pinch and keyboard zoom move the observer from 18 to 10¹⁴ r_g. The desktop vertical field spans about 45.6°. Narrow screens widen the vertical field to retain a visible injection region at the closest radius. The angular scale bar measures the tangent plane at the hole.
Compact disk and its two images
Add gas cloud releases 192 equal-mass parcels near 20 r_g on the equator at the current encounter time. The mass is 2 × 10⁻⁴ (M/10⁶ M☉)² M☉. At close observer positions, the launch azimuth can rotate to bring the equatorial approach into view. Each injection retains its own mass, angular momentum, magnetic supply and annular solution. Every ray crossing samples the combined viscous flux and column of the active disks.
The 176 bulk parcels start with inward radial speed 0.10c and prograde tangential speed j_z/r. Their circularization radii j_z² uniformly sample 5.8–9.0 r_g. Each starts dissipating at its first Newtonian periapsis and transfers mass on a 3 t_g e-folding time. Sixteen interleaved core parcels sample j_z² from 1.7 to 2.6 and inward speeds from 0.11c to 0.027c. At their actual inbound crossings of 2.90035 r_g they begin feeding a plunging flow. Their birth velocities and mass determine both the early arrival and the angular momentum carried into the hole. The model prescribes this distribution and the short dissipation time. The compact viscosity is ν(r) = (7.4/180,000) r in geometric units. The gas mass scales with the physical disk area, giving matched columns at a fixed dimensionless time and ten times higher surface flux in the smaller preset. Transport and boundary conditions
For the first cloud in a fresh encounter, the core enters the inner zone between 69.8 and 93.6 t_g. Bulk shocks begin at 84.905 t_g and end at 94.298 t_g. Playback spends seven seconds approaching, five swinging to the first bulk shock, and six between the first and last bulk shocks. The next 36 t_g advance at 1 t_g per playback second, revealing disk formation, jet propagation and the changing foreground. The far side emits while the foreground at 13.27 r_g remains thin. An extended overlapping disk can absorb the same lower image. Viscous spreading gradually changes the visibility. All earlier injections advance on the same clock. Resolve orbital motion gives a 24-second rotation at 9 r_g after settling. The solar-type star retains its own encounter timing. Shock history, magnetic budget and refinement
View along disk moves the observer to 18 r_g and 7° elevation in 5.5 camera seconds. It takes the shortest turn to azimuth 0.15 rad, near +x, during playback or pause. The boresight points at the hole and screen-up is the local northward meridian. The vertical half-angle tangent eases to the largest of the normal projection, 0.74, and 0.80 divided by the viewport aspect ratio. This fits both disk images and an outward section of the polar flow. Drag, wheel and pinch take over immediately. Reset view restores the opening position and lens.
Filament motion
A returning parcel supplies the emitting annuli at its circularization radius using the radial solver’s existing mass and angular-momentum weights. Its actual first shock supplies a signed longitude φₛ = atan2(yₛ,xₛ) in the equatorial frame. The 176 bulk parcels of the reference cloud shock within a 14.8° longitude range. They therefore illuminate a common sector across several radii. A neutral prograde circular orbit has Ω = √(r−q²)/(r²+a√(r−q²)) in radians per t_g. Smaller radii draw ahead as the sector orbits. Every lensed crossing reads the evolving surface at its own radius and signed Boyer–Lindquist longitude. Kerr–Newman circular motion
Transport of the bright region. A passive complex mass moment Z carries the orientation and coherence of recently shocked material in each annulus. At the end of a transfer step, a deposit Δm contributes Δm exp[i(φₛ+Ωu)−Ωu/(4π)], where u is the parcel’s age since its shock in t_g. This approximates co-rotation during the parcel’s existing exponential transfer into the circular orbit. Previously deposited Z rotates by ΩΔt and decays on the same two-orbit mixing time. The identical tridiagonal mass-transfer matrix then transports its real and imaginary components in j = √r. The accreting boundary removes the marker with its gas, and the remote boundary emits no light. The annulus can spread or drain only through the radial transport solution. Plunging gas deposits no disk light. Disk equation and boundaries
For one annulus the coherent fraction is c = |Z|/m. The renderer interpolates the two components weighted by their one-face flux F before finding the resulting amplitude and direction. With θ measured from arg Z, the local flux is F times (1−c)P + c[¼ + ¾K₁₂(θ)]. K₁₂ is the existing positive, unit-mean order-12 Fejér crest, [sin(6θ)/sin(θ/2)]²/12, with its continuous value of 12 at the center. Its main peak has a full width at half maximum of about 27°. P is the older disk’s unit-mean filament pattern. Each annulus thus emits exactly its viscous flux averaged over longitude, including as coherent contributions rotate out of phase. The beam factor, projected solid angle and intervening column still set the apparent brightness. The three-quarter concentration and two-orbit mixing time are assumptions about locally enhanced dissipation. This passive first moment cannot resolve several distinct hot spots on one annulus or predict their turbulent lifetimes.
The background P has four overlapping radial bands per octave. A filament born at t₀ starts at phase φ₀ − 8 ln(r/R) and advances by Ω(r)(t−t₀), where R is the band center. Cohorts appear every two orbits at R and blend in over the first 30% of that interval. The broad term uses cos²⁴(θ/2) minus C(24,12)/2²⁴, and one band per octave adds the narrower Fejér crest. All modes are evaluated at the shared snapshot time. The relative lookback of different lensed images is discussed under physical clocks below. Measured source and image motion
During playback, the Gaussian presentation shutter has width σ_t = max(rate/30, Δt_frame) in t_g. The second term uses the actual simulated time between displayed frames. This averages orbital frequencies that the current frame cadence cannot sample. In bolometric mode each Fourier mode m receives the factor exp[−(m Ω σ_t)²/2], with σ_t expressed in t_g. That shader uses the instantaneous pattern below 0.05 radians of orbital blur and the annular mean above 5.5 radians. Pausing sets σ_t to zero on the current material state and holds the exposure meter. The next draw samples the instantaneous surface, including when the observer moves or changes orbital inspection. In Resolve orbital motion the 9 r_g gas orbit takes 24 playback seconds. Its quarter turn spans 43.6740 t_g, or 21.51 and 215.12 physical seconds at the two masses. The existing stellar parcel inspection retains its own orbital clock.
Wide observer and distant material
View from +z rotates to the north spin axis at the current distance. Fit ejecta samples the selected injection at the current material time and looks down the same axis. The camera keeps its screen azimuth and solves for the smallest allowed radius that places the surviving stream inside 80% of the horizontal and vertical half-fields. It includes the hole and the annular radius enclosing 99% of that injection’s disk. Parcel depth and finite-distance lensing enter the fit. The 1.25-second move interpolates log radius. The final scale holds during playback until the observer moves or fits again. The previous and next ejecta-target buttons in Observation and camera step through the injections in release order. Each new release becomes the selected target. Fitting clears the follow inset so that it cannot cover the debris. Reset view restores the previous follow setting. A drag, wheel or pinch can interrupt either scripted view.
All surviving parcels remain available across the observer’s zoom range. As their projected diameters shrink from 4.25 to 1.25 CSS pixels, the tracer pass blends into a projected mass image. Each unresolved parcel distributes its remaining visible mass among four neighboring 3-pixel cells by bilinear weights. Each cell emits at its mass-weighted projected centroid, preserving the projected first moment. Injections, orbit branches, and near- and far-side contributions remain separate. A 7-pixel display kernel makes unresolved concentrations visible against the photographic sky. Its brightness encodes mass density, and its width describes the display resolution. The same optical depth and shadow tests apply to the individual and combined contributions.
The shadow continues to subtend its physical angle and receives subpixel filtering at wide scales. An optional open-center reticle locates the hole once its diameter falls below one CSS pixel. It is controlled by Field notes and the master overlay switch.
From pixel to sky
In src/optics.js, Δ = r² − 2r + a² + q², Σ = r² + a²cos²θ, and A = (r² + a²)² − a²Δsin²θ. The outer horizon lies at r₊ = 1 + √(1 − a² − q²). Construction rejects a² + q² ≥ 1. The lapse is α = √(ΣΔ/A) and frame dragging has angular velocity ω = a(2r − q²)/A. The local frame vectors are (∂t + ω∂φ)/α, √(Δ/Σ)∂r, ∂θ/√Σ and ∂φ/√gφφ. Screen right is +eφ and up is −eθ.
The camera launches a past-directed path using a local unit pinhole direction d. The corresponding future photon has energy one in the observer frame and spatial direction −d. Its Killing constants are E = α + ωL and L = −√gφφ dφ(local). Set ξ = L/E and η = (pθ/E)² + cos²θ (ξ²/sin²θ − a²). The electric charge and Carter constant enter different terms of the light equations. Chen, Huang & Jiang, §II, Eqs. 1–14
Choice of integrator. Square-root evolution of R and Θ requires sign choices at turning points. We differentiate the separated first integrals and integrate the resulting smooth second-order equations. With u = 1/r, K = (ξ − a)² + η and C = a² − aξ, the radial first integral is
u′² = 1 + (2C − K)u² + 2Ku³ + [C² − (a² + q²)K]u⁴ .
Primes denote energy-normalized past-directed Mino time. The code integrates u″ = ½ d(u′²)/du. The angular direction n on the unit sphere satisfies n″ = −(η + ξ² + 2a²n_z²)n + a² n_z e_z in the radially rotating frame. The accumulated rotation is ψ′ = −a u [2 − (q²+aξ)u]/[1−2u+(a²+q²)u²]. This Cartesian form passes through the polar axis. A fourth-order Runge–Kutta step scales inversely with angular frequency and shrinks as an ingoing ray approaches the horizon. A radial turn changes sign continuously. The code localizes equatorial crossings within each step, records up to three in ray order and steps precisely to u = 0 for the escaped sky direction. A ray reaching r₊ + 0.0001 is captured. Nonfinite and exhausted integrations have a separate failure code and counter.
Real-time transfer. A screen coordinate is the observer distance times the tangent of its angular displacement. At each displayed radius and inclination, the renderer computes a polar mesh of Kerr–Newman null rays from the local tetrad. The minimum of the separated radial potential determines the capture boundary in each sky azimuth. The mesh samples capture and escape separately, recording the escape direction and the first three equatorial crossings. During input the GPU integrates 48 azimuths by 160 radial samples with fourth-order Runge–Kutta. On +z one radial row and axial symmetry give the directions and signed disk longitudes at every azimuth. Devices with sampled floating-point textures and no floating-point render targets use a current-position CPU solve. After input rests for 220 ms, the worker computes a 320-angle × 320-radius table at or inside 25 r_g and a 192 × 176 table farther out. Its radius, inclination, spin and charge must match the current observer before it can replace the moving image. The initial 256 × 200 table serves the default pose.
The atlas records inverse radius and signed longitude for each of the first three equatorial crossings in observer-to-source order. Zero inverse radius denotes a missing crossing. A separate binary value for each order records whether it exists. If bilinear filtering gives any of these values a fractional weight, the renderer integrates the pixel’s own geodesic and uses its ordered intersections for emission and foreground extinction. The camera preview and the settled table use the same rule. In the wide-field overlap, a disagreement in crossing count selects the per-pixel outer solution. Projected matter uses the same disk crossings for attenuation. The jet volume integrates its own geodesics through the foreground column. Direct-ray comparisons and matched images
Between screen impact coordinates of 220 and 310 r_g, a smooth blend hands rays to a wide-field solver. It uses the same finite-observer tetrad and Kerr–Newman constants. In Mino time scaled by H = √(ξ² + η), inverse radius and the co-rotating angular direction obey a forced harmonic equation. The solver propagates the harmonic and leading monopole terms analytically, integrates the residual and frame dragging by quadrature, and locates escape and equatorial crossings. It subdivides for H < 100 and uses a midpoint for the small residual at H > 2,000. Sky direction, signed disk longitude, foreground opacity, redshift and the selected patch all use the displayed observer. Finite sampling limits the sharpness of higher-order images near the capture boundary. Ray and image checks · Wide-field integration checks
Angular scale. A far-field shadow subtends a radius proportional to 1/D. The primary image of an aligned point source at infinity makes a ring of angular radius approaching √(4 r_g/D). A patch of a nearby disk has a different emitting distance and geodesic. The observer ruler follows the local pinhole scale, including changes in canvas height and field of view on rotation.
The sky uses ESO/S. Brunier’s all-sky photograph. A proper rotation mounts Galactic coordinates in the simulation. The Galactic centre points toward (−0.93794, 0.11226, −0.32812) and the north Galactic pole toward (−0.33987, −0.48565, 0.80538). This sets the orientation of an illustrative sky relative to the spin. A second proper rotation registers the photograph to these axes. We fitted it by orthogonal least squares to 25 XHIP stellar directions and their measured photocentres, with a −1.16-texel top-down latitude-origin adjustment. The plate’s longitude increases leftward and north is up. Its Galactic centre falls at (2083.71, 1002.60) in the 4096 × 2048 source. ESO all-sky photograph · XHIP catalogue
Mark Sinistra rings the photographed ν Ophiuchi system, HIP 88048. Its catalogue position and ten other bright stars were withheld from the fit. The source is effectively at infinity on the scale of the encounter. Each escaping ray contributes the actual texture at its asymptotic direction. The marker uses the same coordinates as the photograph. The two brightest images can fall outside a particular field of view or behind opaque material. The eleven held-out photocentres have a 0.813-texel RMS residual in the original photograph. At 18 r_g, tracing the two screen directions of Sinistra to infinity gives the same measured source direction within 0.000002°. Its catalogue direction differs from the photographic centre by 0.093°. Mosaic stitching, resampling, catalogue rounding and the finite stellar image all enter this registration error. Sky and image checks · Sinistra in SIMBAD
Tidal disruption and the clock
Both presets in src/matter.js inject a 1 M☉, 695,700 km star. The encounter keeps the dimensionless penetration β = r_t/r_p ≈ 3.365 fixed. The launch and pericenter radii scale with the tidal radius r_t = R★(M/M★)^(1/3). In units of GM/c² these lengths scale as M^(−2/3). The physical Kepler time at either matched radius is the same for both holes. The camera, photon table and ISCO share the same dimensionless Kerr–Newman geometry. Selecting a different mass clears matter, flux and time.
| Quantity |
100,000 M☉ |
1,000,000 M☉ |
| Stellar radius in r_g |
4.7114 |
0.47114 |
| Tidal radius in r_g |
218.685 |
47.114 |
| Launch / pericenter in r_g |
287.779 / 64.982 |
62 / 14 |
| Frozen-in Δε/c² |
9.852×10⁻⁵ |
2.123×10⁻⁴ |
| Earliest continuum return |
12.951 d |
40.954 d |
Barker’s equation advances the parabolic center to disruption. The tidal impulse freezes a stratified energy spectrum in the interval [−Δε,+Δε], with Δε = GM R★/r_t². Each of 256 equal-mass tracers receives an energy correlated with its displacement along the radial tidal direction. Eight interleaved lanes sample its circular slices. Adjacent energies in each lane form a ribbon of material. Its width contracts with local stretching and variations in brightness stay attached to the same parcels. Ribbon edges have a minimum footprint in the follow camera. The geometry stops at shocks and underresolved folds. These positions and near-common velocities give each tracer its own angular momentum and conic. A massless triangulated photosphere samples the same phase-space field, starts spherical and fades as the surface stretches into optically thin debris. No additional mass is assigned to visible surface vertices. A parabolic limit handles the zero-energy surface meridian. The model omits stellar self-gravity after release, detailed stellar structure and relativistic hydrodynamics. Bonnerot & Lu, Eqs. 1–6
Bound parcels return according to their own periods. For the continuum flat energy distribution, t_min = 2πGM/(2Δε)^(3/2) ∝ √M in physical seconds. For t ≥ t_min the analytic fallback rate is M★/(3t_min) (t/t_min)^(−5/3), integrated over half the star’s mass. The simulation schedules first return at the earliest discrete bound periapse, slightly later than the continuum minimum.
Watching the event. The stellar clock assigns three wall seconds to approach and 24 to disruption and early stretching. During the eccentric excursion the clock eases through the first bound apocenter, then slows for periapsis. A window centered on its actual return takes ten seconds. The next 0.24 t_min of disk assembly takes twelve seconds. Its clock starts at the first-return speed and accelerates continuously through this interval. After assembly, one orbit of the leading circularizing parcel takes twelve wall seconds. This window lasts 1.35 turns. Feeding then advances at 0.11 t_min per wall second. Resolve orbital motion can select a remaining shocked parcel and hold its period at twelve seconds per turn. Long-term evolution increases the clock rate with physical age for observing the viscous tail. A common clock respects the slowest overlapping event and splits steps at the next event boundary. Standard gas uses its own pericenter and delayed shock events. The control panel reports instantaneous physical time per wall second.
The comoving orthographic camera looks along the newest orbit’s normal. During turnaround it holds a fixed field around the full stream. Starting at 86% of the leading parcel’s first orbit, a logarithmic zoom follows its location while a second inset retains the entire distribution. Forty-eight massless positions from the leading energy interval resolve the incoming tip near periapsis. They sample the impulse field at the same instant. The optional orbit-history line is a separate overlay. The dark silhouette in the local close-up has the physical horizon radius. The optical view retains its own camera, which the viewer can move throughout the encounter.
During circularization the stellar camera settles at the hole with its original orbital orientation. The bright bead and its short history track one parcel through the same physical time as the main view. At fast feeding rates the local view shows an axisymmetric mass distribution. For gas, the camera starts blending toward the disk when 15% of the bound supply has been deposited and finishes at 86%. Its opacity follows mass per logarithmic radial bin and its warm center traces annular heating. Three contours enclose 25%, 50% and 75% of its disk mass. The tracker lists bound stream, unbound debris, disk, capture and jet mass for that injection. Each view uses the same time step. The model omits light-travel delays between images.
Field notes can show the hole-centered +z spin axis and equatorial rings at 8 and 15 r_g using ordinary perspective. The dashed outline samples the Kerr–Newman capture boundary in 96 directions at the actual observer position. The launch arrow uses the projected initial tangent of the leading parcel, and the path samples a short, already traveled part of its trajectory. Both use the material renderer’s finite-distance projection. The master overlay switch hides the guides.
Once returning mass starts to emit, “View along disk” eases the observer’s inclination to 83° at 18 r_g over 5.5 seconds, settling at azimuth 0.15 rad. The same ray intersections produce the foreground band and the upper arc. In the arc, rays bend around the hole to equatorial locations behind it. Pointer contact, wheel, keyboard orbit and camera reset interrupt the move immediately. While paused, the patch inspector integrates the picked ray, ranks its visible emitting crossings and marks the same equatorial source through subsequent camera motion. Arch selection and occlusion
Dissipation and mass
The Standard gas regression experiment injects 0.30 M☉ using 192 tracers. Its launch and pericenter are 46 and 13 r_g at 10⁶ M☉ and scale with r_t at the lower mass. Physical cloud size and velocity dispersion are held fixed. Differential central gravity shears the distribution. The gas shock prescription begins 250–550 times (10⁶ M☉/M) geometric time units after the tracers’ first pericenters, representing collisions of overlapping outward streams. This delayed dissipation closure does not resolve collision hydrodynamics. The modeled mechanism is informed by gas-cloud simulations on larger physical scales. Alig et al., §§3–4
After a bound tracer’s shock, its remaining stream mass decays exponentially into the disk. The circularization times are 0.16 t_min for stars, 1,800 (10⁶ M☉/M) t_g for standard gas and 3 t_g for low-angular-momentum gas. Circularization at fixed L gives r_c = L². The shocked orbit continues from its actual angle at first intersection. Eccentricity and inclination damp and the leading Schwarzschild apsidal offset 6π/L² builds gradually. This depicts unresolved periapse shocks and redistribution of angular momentum into an aligned disk. Individual post-shock positions are approximate. Each increment of mass enters annuli at its axial circularization angular momentum. Annular transport carries mass inward and angular momentum outward. The integrated local viscous loss gives the light curve and the flux at the inner boundary gives accretion. Returning supply is binned directly from parcel arrivals. The emission counts as quiescent below 10⁻⁴ L_Edd after an active episode. The cutoff preserves the stream and the disk. Transport equation, boundary conditions and convergence
Bound outbound material stays in the incoming inventory until apocenter. Bound inbound debris then counts as returning. Unbound material counts as escaping after pericenter. The field notes inventory checks injected = incoming + returning + disk + captured + escaping. Jet ejecta are a displayed subset of escaping mass. Each click of Add star or Add gas cloud releases one injection at the current physical time. Each retains its own tracers, radial mass distribution, angular momentum and magnetic-flux account. Their annuli contribute to one luminous disk, and the flux and accretion reaching the horizon power one jet engine. The tracer buffers grow with the encounter. Capacity and playback speed depend on the browser’s available memory and processing time. Reset clears the encounter and its clock. Pause holds physical time while the observer can move.
Emission and outflow
The disk shader samples the local one-face heating F = (9/8)νΣΩ² at each ray crossing. The sum over both faces gives intrinsic bolometric luminosity. In a steady flow with the same physical accretion rate and r/r_g, the smaller hole has 100 times the flux and 3.162 times the temperature. The neutral prograde Kerr–Newman circular-orbit energy minimum gives r_in = 2.90035 r_g. The code uses Ω = √(r−q²)/[r² + a√(r−q²)] and uᵗ = [−g_tt−2Ωg_tφ−Ω²g_φφ]^(−1/2). From the photon energy at each endpoint, g = [(1−ω_obs ξ)/α_obs] / [uᵗ(1−Ωξ)]. The emitting temperature is (F/σ)^(1/4). Bolometric surface brightness transforms as g⁴F, while the observed temperature is gT. The shader composites from the farthest stored surface toward the observer. Foreground disk emission can therefore appear over a horizon-bound ray. Balbus, Eq. 3 · Slaný & Stuchlík, Eqs. 37 and 60 · Younsi, Wu & Fuerst, §2
The exposure meter uses the sum of the peak one-face annular fluxes for all injections. Its target in stops is 0.94 log₂(1 + F_peak / 4×10¹⁶ W m⁻²). A first-order filter closes exposure on 0.70 wall seconds and reopens it on 2.4 seconds. Pausing matter holds exposure during a camera move. With Auto-dim sky on, the warm view multiplies photographic sky brightness by 0.07 + 0.93 × 2^(−0.60 S), where S is the meter reading in stops. Switching it off sets this factor to 1. Foreground disk transmission still applies along each lensed ray.
For an isotropically emitting disk face the bolometric radiance is F/π in W m⁻² sr⁻¹. The disk shader absorbs the constant π into its display calibration. At each emitting crossing it applies the local filament factor to F, then evaluates X = g⁴F 2^(−stops) in W m⁻². The temperature used for the amber-to-warm-white palette is (X/σ)¹ᐟ⁴. The palette runs from amber at the low end to warm white in the hot filaments. Its temperature depends on display exposure. The unexposed temperature g(F/σ)¹ᐟ⁴ is the physical color-temperature estimate under the blackbody assumption.
At each crossing the renderer takes T = exp(−κΣ/2), with interpolated Σ in kg m⁻² and κ = 0.034 m² kg⁻¹. In the bolometric image it composes the exposed surface intensities far to near as I = T I_behind + (1−T) X, applying the same weights to the hue-weighted intensities. Only the combined I enters the display shoulder 0.978 [1 − exp(−1.70 (I / 1.8×10¹⁶ W m⁻²)^0.56)]. The surviving photographic background passes through the product of the transmissions and is screen-blended with the disk. High-contrast structure is sampled over a 2 × 2 subpixel footprint.
Visible disk light and sky transmission
Visible light (380–780 nm) treats each heated face as an isotropic thermal surface. The local one-face flux, including the signed-longitude filament pattern, sets T_eff = (F/σ)¹ᐟ⁴ in kelvin. Conservation of Iν/ν³ along the ray gives Iλ,obs(λ) = g⁵ Bλ(gλ, T_eff) = Bλ(λ, g T_eff). Integrating over observer wavelengths gives radiance in W m⁻² sr⁻¹. This includes gravitational and orbital frequency shifts in both the received intensity and its color. At each of up to three actual equatorial crossings the layer contributes (1−T)Bλ times the transmissions of all closer layers. The finite-observer lens maps the resulting surface brightness to sky solid angle. The transmitted background is the photographic sky multiplied by the product of those foreground transmissions. Invariant transfer
visible-light.js integrates Planck's law every 2 nm and tabulates 1,024 log-temperature samples. One channel retains the unweighted band integral for photometry. For the display, the CIE 1931 2° color matching functions weight the same spectrum before conversion from XYZ to linear sRGB. The presentation shutter averages shifted spectral radiance across orbit phase. A narrow shutter uses Gaussian quadrature and a broad shutter uses 32 periodic longitude samples. Pausing samples the instantaneous spectrum. Below 0.015 radians of orbital blur the visible shader samples one longitude. The rays share the encounter's snapshot time, including for multiple images of one patch. Analytic color matching functions · Independent band and pixel checks
Visible light uses fixed 0 EV at every epoch. For each received linear color channel C, the display uses asinh(C / K) / asinh(W / K), with K = 5 × 10⁷ and white W = 2 × 10¹⁰ in the channel’s radiance units. The 8-bit sRGB output clips locally above white. In Warm false color, disk and jet follow the smoothly adapting bolometric meter. Visible light holds the display gain for those components at 0 EV. The history plot reports the intrinsic two-face bolometric luminosity in watts in either mode.
The disk colors approximate photopic thermal color after compression. The photographic Milky Way has its own calibration. Its attenuated light is added in linear display space, and the jet, tracers and follow map retain illustrative colors. The grey half-column assumes an infinitesimally thin disk and uses the same optical depth at all wavelengths and crossing angles. Treating an electron-scattering column as a thermalizing slab is a reduced prescription. At high accretion rates, a thick photosphere, winds, spectral hardening, lines and reprocessed light could change the apparent size and colors substantially. The radii in the measurements describe this disk model and observer.
A magnetized injection carries a finite, single-polarity poloidal flux Φ₀ = 24 √(m/R_ref³ᐟ²), measured in units of r_g √(μ₀ c M☉/t_g) webers. Here m is injected solar mass and R_ref is 7.4 for the compact cloud or twice the reference periapsis for the stellar and Standard gas cases. Turning magnetization off sets Φ₀ to zero. Each parcel and annulus retains its injection’s constant flux per unit mass until accretion. Unreturned or escaping gas keeps its magnetic share. The model assumes ideal advection up to the inner edge and alignment of the coherent flux from successive injections.
Flow across the inner boundary, including direct plunges, enters a mass and axial-angular-momentum reservoir. It drains exponentially on r_in³ᐟ² = 4.94 t_g. The solver integrates uniform supply exactly over each step. Delivered mass loads horizon flux at the injection’s flux-to-mass ratio. Horizon flux leaks on 0.8 times that injection’s viscous time, then the combined field is capped at 35 √Ṁ_H by ram-pressure confinement. Excess flux leaves the coherent horizon inventory in proportion to each contribution. Both leak and spill are booked. In an overlap the contributions share one field. Each injection receives a share of electromagnetic extraction and torque proportional to its retained horizon flux. Ṁ_H is delivered mass in M☉/t_g. The measured per-injection budget includes the stream, annuli, plunge, horizon and loss. Conservation and time-step comparisons
The open-field fraction rises smoothly as φ_H = Φ_H/√Ṁ_H rises from 4 to 10, using f²(3−2f) with f = clamp((φ_H−4)/6, 0, 1). Jet power in watts is (0.05/4π) f_open (Φ_H Ω_H)² M☉ c²/t_g, with Ω_H = a/(r₊²+a²). Depleted inflow releases the unconfined field. The mass needed for a 0.72c outflow receives up to 25% of this power as kinetic energy, capped at 12% of the delivered mass. The remaining mass joins the hole. Advected angular momentum splits with mass. An electromagnetic torque P/Ω_F, with Ω_F = Ω_H/2 in consistent units, transfers angular momentum from hole spin into the jet. The metric and spin are held fixed over each encounter. The coefficient, flux coherence, confinement and field opening model unresolved magnetohydrodynamics. Blandford–Znajek power scaling
Propagation, cooling and projection of the lobes
The two outflows are launched along ±z from r₀ = max(1.72, r₊ + 0.12). The local speed relative to a ZAMO is β = 0.72. On the axis, α² = Δ/(r² + a²), dℓ = dr/α and dr/dt = βα². The code integrates dt/dr analytically from r₀ and inverts the monotone travel time for the leading front. In each lobe the section at |z| receives P(t − t_travel) from the shared launch history. Variations in the delivered power therefore propagate as knots. Positive and zero-power intervals remain separate. Short adjacent intervals are stored by their energy integral. The cooling memory extends to a surviving fraction of 10⁻¹² for the slower component. The leading front can travel beyond the observable plasma. Axial propagation and budget checks · Locally nonrotating frames, Bardeen, Press & Teukolsky
The model assigns 4.5% of the extracted power to a prompt radiating population and 22% to a longer-lived one. Their effective exponential lifetimes are 26 and 480 t_g in the simulation's coordinate clock. In each step the energy balance for population i is dEᵢ/dt = fᵢP − Eᵢ/τᵢ. The remaining extracted energy is booked to kinetic energy and other magnetic/mechanical work. The kinetic allocation is (γ−1)Ṁ_jet c² at large radius. The mass ledger counts baryonic rest mass separately. Maintaining a constant local speed near the hole requires acceleration. The residual energy account includes unresolved magnetic and mechanical work, with no separate calculation of the force or binding energy needed at the nozzle. These are phenomenological fractions and cooling lifetimes. The simulation has no electron energy spectrum, local magnetic-field evolution or resolved synchrotron opacity. Real synchrotron cooling depends on the particle energy and the magnetic energy density. Rybicki & Lightman, chapters 4 and 6
For each lobe, population i has local power per unit proper axial length proportional to P(t − u) fᵢ exp(−u/τᵢ)/(2β α³ τᵢ), where u is the travel time. Lengths and lifetimes in this expression use r_g and t_g. The factor of two shares the engine power across the lobes. Multiplying by α² and integrating in proper length gives the population's power at infinity before occultation or capture. A transverse Gaussian exp(−ρ²/2σ²)/(2πσ²) integrates to one. Fractions 0.38 and 0.48 of the prompt and long-lived light enter the spine respectively. Each population puts its remaining power into the sheath.
The confined width in r_g is w_c = 0.12 + 0.088√[s(1+s/90)], with s = max(0, |z|−1). The spine has σ_sp = 0.30 w_c. For the emitting sheath, let d = max(0, |z|−r₀) and w_e = 0.08 d²/(d+90). Its width is σ_sh = √(w_c² + w_e²). This assumes that particles radiating in the surrounding layer occupy a broader range of transverse positions as the confinement relaxes. The extra width and its derivative vanish at the nozzle. Its asymptotic one-sigma slope of 0.08 gives a half-angle of about 4.6°. The corresponding comoving transverse spreading rate is bounded by γβ × 0.08 c ≈ 0.083c. The pressure profile and particle transport across field lines are unresolved. The opening angle is an illustrative model parameter. Stratification and a transition from parabolic to conical collimation have observational analogues in M87. Asada & Nakamura, 2012
The 1/(2πσ²) normalization puts exactly the allocated power into each cross-section as it widens. This prescription redistributes the emitting particles without adding bulk kinetic energy or a dissipation pulse. The jet shader truncates at ρ² = 24σ_sh², where at most exp(−12) of a normalized Gaussian lies outside the integration domain. Outburst profiles and energy ledger
The volume pass integrates along Kerr–Newman null rays. It uses ρ² = (r²+a²)sin²θ, z = r cosθ, and proper ZAMO path length dℓ = Σ(1−ωξ)dλ/α in energy-normalized Mino time. The angular unit vector keeps transverse distance accurate near the pole. At an exactly axial observer the emission and foreground column are rotationally symmetric. The GPU integrates a full diagonal of radial samples and rotates that result across the image. On wide rays, the step also resolves the local distance to the sheath. A Gaussian cross-section and the axial lapse approximate a slender tube outside the nozzle. The local outward direction is the projection of the axis into the orthonormal radial and polar basis. The bolometric angular weight for a moving, isotropic emitting element is δ³/γ with δ = 1/[γ(1−β cosψ)]. Its solid-angle mean is one. Numerical quadrature over solid angle gives 0.99999960. The transverse profiles integrate to unity within 1.6 × 10⁻⁷ from the nozzle to 900 r_g for both tested launch radii. The remaining ZAMO-to-observer factor is g⁴. Every foreground equatorial crossing attenuates the integral by exp(−κΣ/2). A ray ends at capture, escape beyond the emitting region, or negligible transmission. Covariant transfer, Younsi et al.
The code converts the two-lobe power in watts to an equivalent surface-flux scale using the physical r_g². The isotropic per-steradian jet emission and the disk's Lambertian surface radiance give the relative factor 1/4. The disk exposure applies to both. The volume image uses a blue-to-white palette. With I the exposed column in units of 1.8 × 10¹⁶ W m⁻² and X = 420 I, the display intensity is 0.96{1−exp[−0.21 asinh(X+√X)]}. The square-root response lifts low surface brightness in the wings. Zero delivered light gives zero signal. The stretch is applied after integration along the entire ray. The result screens over the disk and photographed sky. These display levels are qualitative. A real observed band would require a source spectrum, instrument response and a joint radiative-transfer solution. Astronomical image stretches, Lupton et al.
The volume renderer integrates the nonzero cooling profile. Fit jet samples the same launch history and cooling at the current time. It uses the last height with a side-on line brightness above the rendering threshold to fit both lobes, allowing room for their width, perspective and the shadow. It moves to a 7° side view and holds the chosen radius. The physical front, a surface-brightness threshold and the farthest detectable pixel can therefore give different lengths.
Audit from initial conditions to pixels
The following checks use a fresh solar-type star and a fresh compact gas injection at both masses. A second run adds the cloud to a feeding stellar disk. A quoted numerical error measures the solver or projection under its stated assumptions. The dominant astrophysical uncertainties are given alongside those checks. Reproducible numerical audit · Transport benchmarks
| Stage and implementation |
Executed equation, units and frame |
Independent benchmark or uncertainty |
Scale and metric · physicalScale, observer |
r_g = GM/c², t_g = GM/c³. BL radius is in r_g. All matter and rays use the same positive spin axis. At a = 0.8, q = 0.05, r₊ = 1.597913. |
The two mass conversions give 147,662.5 / 1,476,625.0 km and 0.492549 / 4.925491 s. Relative to the IAU nominal solar mass parameter they differ by 1.33 × 10⁻⁹ in length and 4.8 × 10⁻¹⁰ in time. Setting q = 0 gives r₊ = 1.6. The minimum circular-orbit energy gives r_ISCO = 2.90034784 versus 2.9003478 in the solver. |
Photon endpoints · optics.js, transfer.js, sky.frag |
Numerical fourth-order integration of the separated null equations above. A finite ZAMO pinhole launches each ray. The sky uses its escaping direction. Surface images use its ordered crossings. |
At D = 18, 49, 165, 600 and 10,000 the largest relative error against the static Schwarzschild shadow sine is 5.6 × 10⁻⁸. Analytic spinning spherical-photon orbits test the asymmetric boundary. The default atlas has 0 capture mismatches in 1,200 samples. The 95th-percentile sky error is 0.068° away from the critical curve, reaching 2.31° at 0.005 r_g from it. Three stored crossings limit high-order disk images. |
Unshocked matter · makeBatch, conic, position |
Newtonian specific ε = v²/2 − 1/r and j = r × v in c² and GM/c. The star follows a parabolic orbit until the tidal impulse. The compact cloud starts at 20 r_g with its assigned radial and tangential velocities. Elliptic and hyperbolic Kepler equations are solved for each parcel. |
Finite differences of the propagated positions recover ε to 4.2 × 10⁻¹¹ c² and vector j to 1.7 × 10⁻⁸ relative across both encounters. At r = 7.4 the neutral relativistic prograde uφ is 3.088 GM/c, versus the transport value √r = 2.720 GM/c. Strong-field periapsis, capture fraction and shock location carry model uncertainty. |
Return and shocks · arrivalRate, advance, samplePiece |
The 1 M☉, 695,700 km star has Δε = R★/r_t² in c². Bound energies give periods 2π/(−2ε)³ᐟ². Shocked mass transfers as −dm/dt = m/τ. The gas core reaches the inner boundary before the main cloud reaches periapsis. |
Half of the stellar mass is unbound. Cumulative return differs from the flat-spectrum continuum by ≤0.00166 M☉ at the tested times. Gas has 16 core and 176 bulk parcels. The shock times and post-shock damping approximate fluid dissipation. Tracer centroids use a first-order lens map, while the disk and jet use null rays. |
Radial evolution · disk.js, advance |
Conservative implicit diffusion in j = √r with a source at the deposited j_z, an absorbing inner boundary and a retaining outer boundary. In SI the one-face loss F = 9νΣΩ²/8 is W m⁻². Intrinsic L sums both faces in watts. |
The analytic ring response gives <0.153% error in the peak rate and <0.059% radial L¹ error at peak for 1,536 cells. The independent steady-law flux differs by 0.0060%, integrated luminosity by 0.0022%. Thin, efficient emission is uncertain during super-Eddington stellar fallback. |
Emission and source selection · disk-pattern.js, sky.frag, patch-ray.js |
Each ray uses signed BL longitude, local Ω and the common coordinate time. Nonzero azimuthal modes have zero mean. g = (p·u_obs)/(p·u_em) and F_obs ∝ g⁴F. Grey τ = κΣ/2 is dimensionless. Far crossings are composited through nearer ones. |
Independent covariant contractions agree within 1.2 × 10⁻¹⁶ at the two reference images. At q = 0.05 their g values are 0.97403 and 0.75318. Foreground transmission is calculated from the evolving column for both stars and gas. Treating scattering as removal and using the vertical half-column at all angles limits the accuracy of absolute intensities. |
Engine and outflow · advectToHorizon, evolveJet, outflow.js, jet-volume.frag |
Delivered coherent flux, confinement, Ω_H² and ongoing accretion set P. A launch transports mass, P/Ω_F torque and energy into two lobes. Prescribed axial propagation and cooling set the profile that each ray sees. |
Unmagnetized gas gives zero flux, ejecta and power. The zero-spin control delivers flux and returns exactly zero power and magnetic torque with the gas supply and inner-edge prescription held fixed. Integrating luminosity over both lobes recovers the cooling reservoirs' power within 0.001% at the six measured ages. Absolute loading, collimation and radiative efficiency depend on the assumed field and particle populations. |
The independent dimensional check uses the nominal solar mass parameter 1.3271244 × 10²⁰ m³ s⁻² and the exact speed of light 299,792,458 m s⁻¹. Length, time, temperature and power retain their physical units until the exposure and color calculations. IAU 2015 Resolution B3, Table 1
The volume integral samples each ray's polar angle and inverse radius with RK4. The production step allows up to 0.12 radians of orbital phase and shortens near the horizon or an emitting column. It samples opacity on crossing the equator, stops at r₊ + 0.001 for capture, and limits work to 450 steps per pixel. In a settled side view with sin i ≥ 0.55 the volume buffer uses the full horizontal pixel count across the spine. Its vertical count comes from a uniform fit into 640 × 410. Camera motion uses a uniform fit into 360 × 230 until the optical geometry settles. A negative null radial potential on the boundary of the enclosing sphere lets an exterior observer skip rays that cannot reach the emitting volume. Each sample uses the current observer and material time. Finite pixel size, quadrature and interpolation limit the thinnest jet features. At D = 18 and 7° elevation, the positive and negative axial points at |z| = 10 r_g map to vertical screen tangents D tan θ = +12.5708 and −11.7909 r_g on direct rays. A flat pinhole projection gives +10.6463 and −9.2961 r_g at the same locations. The GPU comparison integrates independent, finer CPU rays over the four contributing texels at 10 r_g and again beyond 300 r_g. Browser measurements and step-halving results · Current spine and sheath at close and distant sightlines
For a static Schwarzschild observer outside the photon sphere the independent reference is sin θ_shadow = (3√3/D)√(1−2/D), with D in r_g. At D = 18 the exact sine is 0.272165527. The numerical capture edge gives 0.272165512 after conversion from the pinhole tangent. The spin and charge controls use finite-observer rays at both emitting intersections. Finite-distance shadow, Synge · Ray and flight-time refinements
The illustrative charge amounts to Q = q√(4πε₀G) M, approximately 8.6 × 10²³ or 8.6 × 10²⁴ C. An ionized environment can preferentially accrete opposite charge. The proton electrostatic/gravitational force-balance scale is only q ≈ 9 × 10⁻¹⁹. An external magnetic field can induce charge, but q = 0.05 here is a metric demonstration. At q = 0 the same two screen rays hit 8.9572 and 8.9541 r_g and the shadow midpoint moves by only 0.016 CSS px at D = 18. Both physical presets share this dimensionless comparison. Kerr–Newman separation, Carter · Induced charge, Wald · Finite Schwarzschild escape cone, Synge
Physical clock and omitted flight times. A rendered frame is a simultaneous BL-coordinate-time snapshot. Pause holds that time for the matter, the cohorts, the radial profile and the launch history. Each ray uses the surface and volume at that snapshot. Integrating dt/dλ = (r²+a²)(r²+a²−aξ)/Δ + a[ξ−a sin²θ] gives lookbacks of 35.10561 and 37.07709 t_g for the reference upper and lower photons. Their relative delay is 0.971 or 9.71 physical seconds. At 8.9626 r_g the corresponding orbital phase difference is 4.09°. Absolute phase relative to a distant synchronized observer would also be delayed. At D = 590 the two rays to opposite knots at |z| = 306 have lookbacks of about 633 and 700 t_g. A speed bound of 0.72c permits a differential displacement of 49 r_g between those apparent epochs. Real moving knots can therefore look appreciably asymmetric even for symmetric launches. Integrated path clocks and step sizes
Discrepancies corrected. The baseline reused a long presentation shutter after pause. The current shutter averages only unresolved orbital modes and closes to zero on pause. The original 192-node grid overestimated the compact foreground column as gas spread. At 398 t_g it transmitted 0.00275 on the lower ray. The production 1,536-node grid gives 0.978 and 3,072 nodes give 0.986. At 560 t_g the values are 0.444 and 0.496 on the two finer grids. Late marginal obscuration times carry this resolution uncertainty. Throughout 122–130 t_g both fine grids transmit essentially all of the lower ray, and patch heating differs by <0.18%. Reducing the maximum playback step from 0.05 to 0.0125 s changes the young-window jet power by <0.5%. The launch history now follows cooling through shutdown. Integrating the emitting column along its null path resolves the near-hole displacement and the distant spine. Baseline pause measurements · Radial, temporal, ray and energy comparisons