Home▸Space & Astronomy▸Black Hole Gravity: 2D Orbital & Lensing Lab

Black Hole Gravity: 2D Orbital & Lensing Lab

A top-down Canvas2D lab: real inverse-square gravity pulls orbiting particles toward the event horizon, an accretion-drag slider controls inspiral rate, and a light-bending ray overlay approximates gravitational lensing near the horizon.

Space & Astronomy2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
2d-black-hole-gravitational-effects-simulation ↗ Open standalone

This 2D companion swaps the 3D scene's orbit camera for a flat top-down view built around real orbital mechanics: each particle feels genuine inverse-square gravity toward the singularity, a drag term models the angular-momentum loss that drives real accretion inspiral, and particles crossing the Schwarzschild radius are captured while a light-bending overlay approximates how the same gravity deflects passing light rays.

⚙ Under the hood

Canvas2D lab with Newtonian inverse-square gravity driving orbiting particles, a Schwarzschild-radius readout that updates with the mass slider, and an Einstein-deflection-formula light-ray overlay.

black holegravityschwarzschild radiusgravitational lensingaccretion diskdoppler beaming

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)