Skip to content
All apps

Life of stars (3D)

About this app

Hertzsprung–Russell diagram with two stars of equal age: mass decides luminosity, lifetime and fate. Red giant, planetary nebula, supernova, neutron star or black hole; colour computed from temperature.

With explain mode: an AI tutor walks you through the app, points out what matters in the scene and answers your questions.

Mass decides

The Hertzsprung–Russell diagram sorts stars by surface temperature and luminosity. Most lie on the main sequence, fusing hydrogen into helium in their cores. A massive star has more fuel but burns it much faster: luminosity grows roughly as M^3.5 to M^4, and main-sequence lifetime falls roughly as t ≈ 10 billion years · (M/M☉)^−2.5. Afterwards the star swells into a red giant or supergiant. Below about 8 solar masses a white dwarf remains; above that come a supernova and a neutron star or black hole.

What the app shows

Two stars, A and B, with initial masses you choose between 0.5 and 40 solar masses, follow their evolutionary tracks in the HR diagram side by side. Phases such as main sequence, subgiant, red giant, helium flash, red clump, asymptotic giant branch, planetary nebula, white dwarf, red supergiant, supernova, neutron star and black hole are named along with what happens in the core. Star colour is computed from temperature as a blackbody colour. A values panel lists temperature, luminosity, radius, main-sequence lifetime and final stage.

Try it

Compare a star of one solar mass with one of 20: the heavy one is finished after about 10 million years, while the Sun still has a good 5 billion years ahead. The time slider jumps from phase to phase on a logarithmic life clock, with the real age shown above. Set a mass below 0.8 M☉: its main sequence lasts longer than the age of the universe. A bar shows at which initial mass the end switches from white dwarf to neutron star and black hole.

Frequently asked questions

What is the Hertzsprung–Russell diagram?
The Hertzsprung–Russell diagram plots the luminosity of stars against their surface temperature, with temperature increasing to the left. Most stars fall on a band called the main sequence; giants and supergiants lie above it, white dwarfs below. Because temperature and luminosity change over a star’s life, its evolution traces a path through this diagram.
Why do massive stars live shorter lives?
A massive star does have more hydrogen, but pressure and temperature in its core are far higher, so fusion runs much faster. Luminosity rises roughly with the third to fourth power of mass, while the fuel supply grows only linearly. A star of 20 solar masses therefore uses up its fuel in about 10 million years; the Sun takes about 10 billion.
How will the Sun end?
In a little over 5 billion years the Sun will run out of hydrogen in its core, swell into a red giant and later burn helium. At the end it will shed its outer layers as a planetary nebula. What remains is an Earth-sized white dwarf that slowly cools.
How accurate are the tracks in the app?
The tracks are stylised and pieced together from approximate formulas rather than computed with a stellar model. The app assumes a Sun-like composition and ignores rotation and binary stars. The mass limits for the final stages are fuzzy, and the background stars are an illustrative population, not catalogue data.

Subject: Astronomy

More from Astronomy

A VisuApp by heyprof: interactive, free in your browser, no sign-up. What is a VisuApp? · All apps