← All animations

🌟 Life Cycle of a Star

Every star is a decades-to-billions-of-years tug-of-war between two forces: gravity pulling inward and the outward pressure of nuclear fusion pushing back. One number decides the whole story — the star's mass. It sets how brightly the star burns, how long it lives, and how it dies: a quiet white dwarf, or a violent supernova leaving a neutron star or black hole. Drag the mass slider and walk a star from birth to death.

1. A star's life, set by its mass

Set a birth mass in solar masses (M☉) and step through the stages. Below ~0.08 M☉ an object never ignites fusion (a brown dwarf). Above ~8 M☉ a star ends in a supernova; above ~20–25 M☉ the core collapses past a neutron star into a black hole.

1.0 M☉ Fate: white dwarf
Stellar nebula

2. The Hertzsprung–Russell diagram — where your star sits

Astronomers plot stars by surface temperature (hot on the left, the astronomical convention) against luminosity (brightness, log scale). Most stars fall on the diagonal main sequence; cool, swollen giants sit top-right; faint, hot white dwarfs bottom-left. The ★ marker is your star — it moves as you step through the stages above.

Main sequence · ~5,800 K

3. The lifelong balance — gravity vs. fusion

A star is a sphere held up by a standoff. Gravity relentlessly tries to crush the gas inward; the heat and radiation of fusion in the core push outward. While there's fuel to burn, the two stay in balance (hydrostatic equilibrium) and the star is stable — that's the long main-sequence phase.

When the core's fuel runs low, fusion can't hold the line. Gravity wins a round: the core contracts and heats, igniting heavier elements and bloating the star into a giant. Eventually fusion stops for good and gravity has the final say. Mass decides everything:

Press Drop… well, press Auto-play in Scene 1 and watch the whole standoff play out.