How this was made, and how far to trust it
Cosmodex is a personal project. I competed in Science Bowl through middle and high school, mostly in astronomy and earth science. As an adult with a career and less free time, it’s hard to keep up with subjects like these. I wanted to rekindle the passion I had for astronomy, and to share it, by turning the textbook diagrams I studied into something fun and interactive.
Made in collaboration with AI
The code, drawings and text on this site were made with Claude, by Anthropic, under my direction. I chose what to build and reviewed each page. The figures come from the published sources listed below.
There may still be factual errors or inaccuracies. Everything published here has been checked as carefully as I can against real measurements: in December 2026 every page was compared with published values, and the figures that were wrong were corrected. If you find a mistake, please report it.
How accurate it is
It depends on which part of a page you are looking at. There are four kinds of content here, from firmest to loosest.
- Computed from exact physics
- Orbital periods and speeds (Kepler’s third law), the balance point of a pair, Roche lobes, the path of a gas stream between two stars, how far a hot star’s ultraviolet light reaches into a cloud, the distance modulus that links apparent and absolute magnitude, and the width of a black hole’s event horizon. These are worked out by the page, not drawn.
- Measured values of real objects
- Masses, widths, temperatures, distances and periods of the named stars and pairs come from the papers below. Some are known to a percent (Sirius, the Hulse–Taylor pulsar); others are uncertain by a tenth or more (Betelgeuse, Eta Carinae, T Coronae Borealis), and the page says so where it matters.
- Rounded and representative
- Each star’s life is a handful of moments taken from published evolution models, with everything in between filled in smoothly. A real stellar evolution code would differ by 10 to 30 percent for the giants. The dividing masses between endings are approximate: published values for the line between white dwarf and supernova run from 7 to 11 Suns. Light curves are typical shapes, not fits to one supernova.
- Illustrations
- The animations (a cloud collapsing, a star exploding, a disk of gas, a nebula) are drawn to look right and to happen in the right order. None is a fluid simulation. Sizes are often compressed so that small things stay visible, and every page says where.
Some of the science is itself unsettled, and the pages say so: which route makes most Type Ia supernovae, what happens inside a common envelope, how stars of 8 to 10 Suns end, and how Eta Carinae will die.
The mistakes to expect
The errors found so far fall into three kinds. They are worth knowing, because the ones not yet found are probably of the same kinds.
- A number recalled slightly wrong
- The AI writes a first draft from memory, and its memory of a figure is a blend of everything written about it, older values included. The result is usually close and sometimes out of date. Checking each figure against its source catches these.
- A correct formula used where it does not apply
- The larger errors were here. Each piece of a model can be textbook physics while the way the pieces are joined is wrong. These only show when the page is pushed to unusual settings and its answers are compared with real objects.
- An example that does not fit the simplified model
- A real object is sometimes stranger than the model beside it, and a caveat in small print is not enough. Where that was found, the example was replaced with one that fits.
Each new page is now checked twice before it is published: its figures against published sources, and its model by a second AI told to look for faults.
What has been corrected
Every correction is recorded here, newest first, with a link to the change itself. The full history of the site is public.
- December 2026 · Nebulae see the change
- Reviewed before it was published. A hot star outside a cloud was wrongly called a reflection nebula, because the empty space between them was treated as dense gas; it now lights a glowing rim on the cloud. A supernova remnant’s speed jumped where its stages met, and a young one was drawn about a third too large. Green oxygen light showed around stars too cool to make it. Known planetary nebulae in our galaxy: about 3,000 became about 4,000. Two examples that did not fit the model, the Witch Head and the Crab, were replaced.
- December 2026 · The eight stars, birth, death, life map and compare see the change
- Thirteen corrections. Betelgeuse as a supernova would be about as bright as a half Moon, not brighter than the full Moon. Its outer layers are about 20,000 times thinner than air, not “thinner than the best vacuum made on Earth”. The Crab Pulsar’s magnetic field is ten trillion times Earth’s, not one trillion. The Eagle Nebula is 5,700 light-years away, not 6,500. Heavy stars are rarer than stated. Smaller adjustments to Sirius A and B, Delta Cephei and Eta Carinae.
- December 2026 · Pairs of stars and Type Ia supernovae see the change
- The red giant in T Coronae Borealis is 0.69 Suns, not 1.12, by a newer measurement. W Ursae Majoris’s two stars are 1.14 and 0.55 Suns, not 1.19 and 0.57. Algol is about 93 light-years away, not 90. About 44% of Sun-like stars have a partner, not “about half”.
Sources
The full citations, and notes on what was rounded, are in comments at the top of each data file in the source code.
The eight stars
- The Sun: Schröder & Smith (2008), “Distant future of the Sun and Earth revisited”.
- Proxima Centauri: Kervella, Thévenin & Lovis (2017) for its mass and width; Boyajian et al. (2012) for its temperature; its far future from Laughlin, Bodenheimer & Adams (1997), “The end of the main sequence”.
- Sirius A and B: Bond et al. (2017), “The Sirius system and its astrophysical puzzles”, for both masses, Sirius B’s width, temperature and cooling age, and the distance; Davis et al. (2011) for Sirius A’s width and temperature; Holberg et al. (1998) for Sirius B’s magnitude; crystallization timing after Tremblay et al. (2019), rounded.
- Delta Cephei: Mérand et al. (2015) for its width and period; Anderson et al. (2015) for its mass and companion; distance from the Hubble parallax of Benedict et al. (2002).
- Betelgeuse: Joyce et al. (2020); its future from Woosley, Heger & Weaver (2002).
- Eta Carinae: Hillier et al. (2001); Smith (2006) for the distance; Smith et al. (2003) for the mass of the Homunculus.
- The Crab Pulsar: Lyne et al. (2015), “45 years of rotation of the Crab pulsar”; Weisskopf et al. (2011) for the limit on its temperature.
- Apparent magnitudes are from the SIMBAD database, and Proxima’s distance from its Gaia parallax.
Birth and death
- White dwarf masses from the initial–final mass relation of Kalirai et al. (2008). Neutron star and black hole masses are representative.
- Birth figures are rounded textbook values for gas with the Sun’s composition, with times to ignition from standard pre-main-sequence tracks. How common each kind of star is: LeDrew (2001), “The real starry sky”. Orion Nebula distance: Kounkel et al. (2017) and Gaia; Eagle Nebula: Kuhn et al., from Gaia.
Compare
- Planet and Moon sizes from the NASA planetary fact sheets.
- Sagittarius A*: GRAVITY Collaboration (2022). M87*: Event Horizon Telescope Collaboration (2019).
Pairs of stars
- Roche lobe sizes from Eggleton (1983); where a stream settles from Frank, King & Raine, Accretion Power in Astrophysics; merger times from Peters (1964); white dwarf widths from Nauenberg (1972).
- Alpha Centauri: Akeson et al. (2021). Algol: Baron et al. (2012). W Ursae Majoris: Gazeas et al. (2021). T Coronae Borealis: Hinkle et al. (2025); Fekel et al. (2000). Cygnus X-1: Miller-Jones et al. (2021). The Hulse–Taylor pulsar: Weisberg & Huang (2016).
- How common pairs are: Raghavan et al. (2010); Moe & Di Stefano (2017); Winters et al. (2019).
Nebulae
- The reach of a hot star’s ultraviolet light is the Strömgren radius (Strömgren 1939), with ionizing output by temperature rounded from Martins, Schaerer & Hillier (2005). A supernova remnant’s growth follows the standard stages, including the Sedov–Taylor law. Brightness for a given temperature, and a planetary nebula’s speed and central star, are typical values.
Type Ia supernovae
- Standard values from the review literature: a limit of 1.44 Suns, carbon ignition near 1.38, a peak of about 5 billion Suns some 18 days after the explosion, and about 0.6 Suns of nickel-56. Brightness of the supernova of 1006 from Winkler, Gupta & Long (2003).