Null geodesic · textbook equation
d²u / dφ² + u = ³⁄₂u²
Here u = rs/r. The ray is integrated with fixed-step fourth-order Runge–Kutta (RK4).
Critical orbit · textbook values
rph = 3GM/c² = 1.5 rs
bcrit = 3√3 GM/c² ≈ 2.598 rs
The photon sphere is unstable: a tiny change in impact parameter separates escape from capture.
Coordinate time
dt/dφ = (rs/c) · ρ² / [β(1 − 1/ρ)]
ρ = r/rs and β = b/rs. The reported time is Schwarzschild coordinate time.
Real values vs scaled view
The mass slider is illustrative. Using textbook G, c and solar mass, the engine converts the chosen mass into Schwarzschild radius (km) and coordinate time (s). The drawing uses rs units and is enlarged to show the near-horizon region; it is not a sky-scale picture. The dimensionless path is independent of mass in this non-rotating model.
What is simplified
Non-rotating, uncharged black hole; vacuum geometric optics; equatorial ray; finite launch radius. Spin, plasma, accretion flow, finite source size and back-reaction are omitted. Captured rays stop at 1.025 rs because Schwarzschild coordinate time diverges at the horizon.
Illustrative educational model, not affiliated with any real institution or manufacturer.