Home▸Space & Astronomy▸Star Evolution 2D

🌟 Star Evolution 2D

The 2D flat twin of Star Evolution: the same mass-driven stellar lifecycle and live Hertzsprung-Russell diagram, drawn on a canvas instead of a rotatable 3D scene.

Space & Astronomy2DModerate60 FPS📱 Mobile-adapted🔥 Fire⚡ Plasma⇄ 3D version
2d-star-evolution ↗ Open standalone

About this simulation

This is the flat, canvas-drawn twin of Star Evolution: the same mass-dependent stellar lifecycle — from a collapsing molecular cloud through the main sequence to a white dwarf, neutron star or black hole — plotted at every instant on a live Hertzsprung-Russell diagram, drawn on a 2D canvas instead of a rotatable 3D scene. A single number, the star's birth mass, decides its whole evolutionary track: how long it burns, how bright it shines, and how it ends.

🔬 What it shows

Real mass-dependent fusion-stage progression: main-sequence lifetime scales as t ≈ 10 Gyr × M⁻²·⁵ and luminosity as L ∝ M³·⁵, so a 20 M☉ star burns roughly 10,000× brighter than the Sun yet lives only millions rather than billions of years. Below 8 M☉ the endpoint is a white dwarf; 8–25 M☉ leaves a neutron star behind a supernova; above 25 M☉ the core collapses into a black hole.

🎮 How to use

The Mass slider (0.1–50 M☉) picks the birth mass and with it the whole evolutionary path. The Age slider scrubs from nebula (0%) to final remnant (100%); Animate plays it through at the chosen speed. Presets jump straight to a red dwarf, a Sun-like star, or a massive supergiant progenitor.

💡 Reading the HR diagram

The inset panel plots luminosity (vertical, log scale) against surface temperature (horizontal, hot stars on the left) — the same axes astronomers use to date real star clusters. The dashed line is your star's full track; the solid line is the main-sequence reference band; the glowing dot is its current position.

Frequently asked questions

How is this different from the 3D Star Evolution simulation?

The physics is identical — the same mass-dependent stage tables, the same t ≈ 10 Gyr × M⁻²·⁵ lifetime scaling, and the same Hertzsprung-Russell track. Only the rendering differs: this version draws the star and its evolutionary diagram on a flat 2D canvas instead of a rotatable WebGL scene, which is lighter to run and keeps the HR diagram permanently visible without needing to reposition a 3D camera.

Why does the birth mass matter so much?

Mass sets the core temperature and pressure a young star ignites at, which in turn sets its luminosity (L ∝ M³·⁵) and how fast it exhausts its hydrogen (t ∝ M⁻²·⁵). Below about 8 solar masses a star sheds its envelope gently and leaves a white dwarf; between roughly 8 and 25 it explodes as a supernova and leaves a neutron star; above about 25 the collapsing core cannot be held up by any known pressure and forms a black hole.

What do the Mass and Age sliders control?

Mass (0.1–50 M☉) chooses the entire evolutionary path and final remnant before the run starts. Age is a 0–100% timeline scrubbing from the molecular cloud at the start to the remnant at the end, so you can either step through each stage by hand or let Animate play it automatically.

What is the Hertzsprung-Russell diagram in the corner?

It plots luminosity (in solar luminosities, log scale, vertical axis) against surface temperature (in kelvin, horizontal axis, hot on the left — the historical convention). Real stars cluster into bands: the main sequence running diagonally, giant and supergiant branches at upper right, and the white dwarf region at lower left. The moving dot is exactly where your simulated star sits right now.

Is the simulation physically accurate?

The stage progression, temperatures, luminosities, radii and the mass–luminosity and mass–lifetime scaling relations reflect real astrophysics and match the 3D version's model exactly. Transitions between tabulated stages are smoothed by logarithmic interpolation and the whole lifetime is compressed onto one slider, so it is a faithful qualitative and order-of-magnitude teaching model rather than a full numerical stellar-structure code.

Why do neutron stars and black holes look so different from ordinary stars?

A neutron star packs roughly a solar mass into a radius of about 10 km, and a black hole's event horizon is even smaller — both are drawn near the bottom-left of the display and diagram alike, at low apparent radius, because the log-scaled radius mapping makes stellar and remnant sizes comparable on screen despite spanning nine orders of magnitude in reality.

⚙ Under the hood

The 2D flat twin of Star Evolution: real mass-dependent stellar lifecycle (main-sequence lifetime ∝ M^-2.5, mass-luminosity L ∝ M^3.5, white dwarf / neutron star / black hole branching) drawn on a canvas with a live Hertzsprung-Russell diagram tracking the star's temperature-luminosity track.

stellar evolutionHR diagramhertzsprung-russellmain sequencered giantwhite dwarfsupernovaneutron starblack hole2d

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

What did you find?

Add reproduction steps (optional)