Free tools & games for everyone
Free · No sign-up · No accounts
See how mass bends light: move a galaxy behind a star, a planet or a cluster and watch arcs, double images and Einstein rings appear. With light curves.
| Tab | Move between tabs, lists, sliders and boxes |
|---|---|
| Arrow keys on a slider | Move the source a little or change its size |
| Click or tap the picture | Put the source there |
| Enter in a box | Work it out |
General relativity says light passing a mass M at distance b is bent by the angle 4GM / (c² b). For thin lenses made of point masses this gives the lens equation β = θ − Σ mi (θ − θi) / |θ − θi|², with all angles in units of the Einstein radius θE = √(4GM / c² · DLS / (DL DS)). The picture is drawn by ray shooting: for each of 300 × 300 pixels we follow the ray back to the source plane and read the source's brightness there. Surface brightness is kept by lensing, so the brightening is the ratio of light in the picture with and without the lens (pixel by pixel, so a little rough for tiny sources).
For one point lens the images are at (u ± √(u² + 4)) / 2 Einstein radii for a source u Einstein radii from the lens, and the total brightening is (u² + 2) / (u √(u² + 4)). As the stars move, u changes with time and the light curve rises and falls; the Einstein time is the time to cross one Einstein radius. Constants: GM of the Sun 1.3271244 × 1020 m³/s², the speed of light and the IAU parsec. Real lenses are galaxies with spread-out mass; this is a teaching model. Everything runs in your browser.
A fresh daily puzzle every morning, and new tools added every month.
Browse every product