Lens (point mass) True source position Images θ+ / θ−

Gravitational Lensing: Einstein Ring & Image Formation (2D)

This 2D companion solves the exact point-mass gravitational lens equation θ² − uθ − θ_E² = 0 rather than ray-marching a shader: drag the background source and watch the two real image solutions θ+ and θ− — with their magnifications A+ and A− — recompute live, alongside the Einstein radius θ_E derived from the lens mass and the observer–lens–source distances you set.