The universe
as a lens.
Stars and planets bend spacetime. The combined gravitational field can focus light from a faraway star into several images, causing transient flashes and sharp caustic crossings.
What is microlensing?
The foreground host star and its planet act as two point-mass gravitational lenses. In angular Einstein-radius units, a distant source at position ζ is related to an image at z by:
The simulation solves this equation numerically for multiple images. Each image is brighter by the reciprocal absolute value of the lens-mapping Jacobian determinant. Magnifications add.
Hunt a planetary caustic
1. Select Find caustic, or drag the bright source dot in the caustic map. 2. Watch how the image count and light curve respond. 3. Increase the planet mass ratio to expand the distortion, change projected separation to reshape the caustic, and enlarge the source to smooth sharp spikes.
Why do image counts change?
Crossing a fold caustic creates or destroys a pair of images. A binary point-mass lens usually creates three or five images for a point source. Finite stellar discs soften the theoretically divergent brightness of point-source caustic crossings.
Physics and approximation
The planar lens equation and magnification Jacobian are the standard thin-lens, weak-field, geometric-optics model for two static point masses. The critical curves and caustics are numerically traced. Extended-source brightness is estimated with a small deterministic sample of the stellar disc, not full limb-darkened integration. Orbital motion, parallax, relativistic higher-order effects, blending, noise and finite lens size are omitted. The 3D rays, star sizes, distances, star colors and glow are artistic explanatory diagrams—not physical scale renderings.
- Identify how a planetary companion perturbs a light curve.
- Connect a caustic crossing to the creation of new images.
- Compare point-source and finite-source magnification.
- Explore mass ratio, separation, impact geometry and time scaling.