mainSequenceProperties

function mainSequenceProperties
universe/src/galaxy.ts:188
mainSequenceProperties(solarMasses: number) → { solarLuminosities: number; solarRadii: number; temperature: number }

A main-sequence star's remaining properties from its mass alone.

R ∝ M^0.8, L ∝ M^3.5, and the temperature that makes those two consistent under Stefan-Boltzmann. Cataloged stars do not go through here — they have measurements, and photometry.ts converts those — but both paths have to produce the same shape, or the renderer would need to know which kind of star it was drawing.

solarMassesnumber
Undocumented
Returns{ solarLuminosities: number; solarRadii: number; temperature: number }