Anyndil / planetary-system-generator

GNU General Public License v3.0
2 stars 1 forks source link

Some systems have planets more massive than their suns. #3

Open sum1els-com opened 1 year ago

sum1els-com commented 1 year ago

It might be nice to add some validation functions to make sure systems are minimally plausible. One system I just generated has a sun with mass 0.263 but also has three gas giants with masses of 20-22. A sun with 1/100th the mass of the gas giant would orbit it, not the other way around. =]

Anyndil commented 1 year ago

They should different scales. Star mass values are measured by Solar Masses (M☉), planets are measured by Earth Masses (M⊕).

Should probably add a note for clarity. It could also be cool to measure gas giants in Jovian masses (M♃)

sum1els-com commented 1 year ago

Ah, I didn't notice the subtle difference in units. A key would be nice, perhaps on the credits page?

sum1els-com commented 1 year ago

Oh, then these gas giants are in the Neptune/Uranus size range; Jupiter is about 318 M⊕!

Ugh, I need to study more to GM this space game; one of my players is an astrophysicist and I have a Sci-Fi movie level of education in this area!