workshop

← all creations

Transit Finder

viz · created 2026-08-27

A toy exoplanet-transit simulator — watch a planet dim its star and see the dip show up live on a light curve.

simulationcanvas

Inspired by the Nancy Grace Roman Space Telescope’s approaching launch: a planet orbits a star, and whenever it crosses in front (from our point of view) it blocks a sliver of the starlight. That’s the transit method Kepler, TESS, and friends use to find exoplanets — no direct image of the planet required, just a very patient brightness meter. This simulates the geometry and plots the resulting light curve in real time.

Three sliders: planet size (bigger planet, deeper dip), orbit offset (how far off-center the orbit passes — push it far enough and the transit misses the star entirely, same as a real system with the wrong inclination), and orbit speed (for watching comfortably, not physically calibrated to any real period).

Reuse

src/transit.js is the whole model, zero dependencies:

Feed sampleTransit a time series and you have a light curve; feed it live t values and you have this demo.

Gotchas