The Physics of the Universe
Home › Simulations › Black Hole Simulator (Gravitational Lensing & Photon Sphere)

Black Hole Simulator (Gravitational Lensing & Photon Sphere)

Explore an interactive black hole simulator: drag a golden star behind an event horizon to watch curved spacetime split starlight into multiple lensed arcs, photon-ring loops, and an Einstein ring.

Presets:
Drag anywhere on the canvas to move the background star through perfect alignment (β = 0) to trigger a complete Einstein ring.

Key Equations & Physics Model

Exact Null Geodesic Bending: α(b) = 2 ∫₀¹/ʳ⁰ du / √(1/b² − u² + r_s u³) − π
Critical Impact Parameter (Photon Sphere Edge): b_crit = (3√3 / 2) r_s ≈ 2.59808 r_s (photon orbit r_ph = 1.5 r_s)
Weak-Field Limit (b ≫ r_s): α_weak ≈ 2 r_s / b = 4 G M / (b c²)

Near b_crit, weak-field approximations break down completely: light rays wind partway or repeatedly around the photon sphere before escaping or falling inside the horizon.

How the Physics Works

Massive objects do not pull on light like a Newtonian tether; instead, mass-energy curves the geometry of four-dimensional spacetime, and photons follow the straightest possible null paths (null geodesics) through that curved metric.

Around a spherically symmetric Schwarzschild black hole of Schwarzschild radius r_s = 2GM/c², light rays approaching with impact parameter b smaller than b_crit = (3√3/2) r_s ≈ 2.598 r_s cannot escape and spiral inside the event horizon, creating the dark black hole shadow captured by the Event Horizon Telescope.

Rays skimming just outside b_crit bend by tens or hundreds of degrees. Because this simulator integrates the exact relativistic orbital equation using a singularity-free deflection lookup table rather than the weak-field 4GM/bc² formula, you see genuine strong-field capture at b ≤ 2.598 r_s (highlighted in coral) alongside large deflections near the dashed gold photon sphere.

When the background star crosses near the line of sight directly behind the black hole (β → 0), light traveling over the top, bottom, and sides bends symmetrically toward your eye, merging discrete secondary arcs into a bright circular Einstein ring.

With Doppler Accretion Disk enabled, hot gas orbiting near relativistic speeds looks noticeably brighter and bluer on the approaching side than on the receding side—relativistic Doppler beaming observed in M87* and Cygnus X-1.

Real Black Hole Event Horizons & Shadow Radii

Black HoleMass (M☉)Schwarzschild r_sOptical Shadow (2.598 r_s)Distance from Earth
Cygnus X-1 (Stellar)21.2 M☉62.6 km162.6 km~7,200 ly
GW150914 Remnant62 M☉183 km475 km~1.3 billion ly
Sagittarius A* (Milky Way)4.15 × 10⁶ M☉12.3 million km31.9 million km26,670 ly
M87* (Virgo A)6.5 × 10⁹ M☉19.2 billion km49.9 billion km (~334 AU)53.5 million ly
TON 618 (Quasar)4.07 × 10¹⁰ M☉120 billion km312 billion km~10.4 billion ly

Why does a black hole shadow look 2.6× wider?

A 42-second animation: Schwarzschild null geodesics, the 2.598 r_s photon sphere shadow, and Einstein rings.

Experiments to Try

Form a Full Einstein Ring

Click the Einstein Ring preset or drag the gold star behind the shadow center (β < 0.75 r_s) to see discrete lensed arcs snap into a glowing ring.

Inspect Photon Sphere Capture

Zoom in with Grazing Photon Sphere and watch coral rays inside 2.598 r_s terminate in the shadow while teal outer rays escape.

Toggle Relativistic Beaming

Switch off the accretion disk to isolate pure background lensing, then re-enable it to compare left-vs-right asymmetric brightness.

Frequently Asked Questions

Why is the black hole shadow 2.6× wider than its event horizon?

Because photons orbiting at r = 1.5 r_s are gravitationally lensed outward as seen from infinity, making any ray aimed closer than b_crit = 2.598 r_s spiral inward and get captured.

What creates an Einstein ring?

When a distant light source, a massive foreground black hole or galaxy, and the observer line up cleanly along one axis, light bends symmetrically all around the lens into a circle.

Does light actually slow down near a black hole?

Locally, every observer always measures light moving at exact speed c. To a distant observer using coordinate time, light passing deeper in the potential well appears delayed (Shapiro delay).

Why is one side of the accretion disk brighter?

Gas approaching Earth at a large fraction of light speed experiences relativistic Doppler beaming, concentrating photons forward and shifting brightness upward.

Related Topics & Tools