HomeSpace & AstronomyGravitational Microlensing: Light Curve Simulator

Gravitational Microlensing: Light Curve Simulator (2D)

A real 2D canvas view of a foreground star's gravity bending and magnifying a background star's light as it drifts past, with the exact Paczyński light curve plotted live from the impact parameter, Einstein crossing time and source size.

Space & Astronomy2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
2d-gravitational-lensing-microlensing ↗ Open standalone

When an unseen foreground star drifts almost directly between Earth and a distant background star, its gravity briefly bends and focuses that star's light, splitting one image into two and brightening the whole system for days to weeks before fading back to normal. This 2D companion renders the same alignment as seen looking straight down the line of sight — the lens star sweeping past the source, its two lensed images straddling the Einstein ring — while plotting the exact Paczyński light curve the event produces, driven by the same impact parameter, Einstein crossing time and finite source size that astronomers fit to real microlensing surveys like OGLE and MOA.

⚙ Under the hood

Watch a foreground star's gravity split and magnify a background star's light as it drifts past, and see the exact Paczyński light curve build up from the impact parameter, Einstein crossing time and source size.

microlensingeinstein-ringlight-curveastrophysicsexoplanetsrelativity

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

What did you find?

Add reproduction steps (optional)