Random Generators

Here are a bunch of random generators for all kinds of things like Dungeons & Dragons, World of Warcraft, and even some silly stuff, like Survivor.

Star System Generator

Star System Generator

PLEASE NOTE: The sheer amount of information here makes it impossible to format the system generator for small screens. Please use this on a medium or higher screen for best display results.

I've been involved in star system generation code for quite a while. There was one in particular that offered everything I needed: Aina's Star Generator.

Unfortunately Aina stopped updating the code over twenty years ago and can no longer be reached. He published his code base online back in the day so others could use and improve it.

Here we are in the here and now. I've updated his code to work with php and have made quite a number of modifications. The goal is to make a few tweaks here and there and test out the random generator in a gravity simulator like Universe Sandbox 2 to see just how viable these star systems are.

temperatures: planet temperatures are seriously out of whack. I've left them in until I can figure out the problem.

System Summary

orbit description mass radius ecc inc moons
primaryG0V : Yellow Dwarf (M-S)1.0603 sol2.086 sol
0.652 auRock0.08035 earth3,262 km0.01 11° 1
1.501 auIce Ball1.47848 earth8,611 km0.18 0
8.7 auK4V : Orange Dwarf (M-S)0.6985 sol1.543 sol0.01718°
0.589 auFailed Core8.80384 earth12,061 km0.03 3
1.001 auGas Giant3,089.86402 earth116,985 km0.01 10° 6
2.302 auFailed Core4.64057 earth13,397 km0.01 5
1.7 auK0V : Orange Dwarf (M-S)0.8312 sol1.750 sol0.008
No planets
5 auK1V : Orange Dwarf (M-S)0.7966 sol1.697 sol0.01
0.913 auGas Giant3,005.08411 earth124,855 km0.03 3
7.7 auG5V : Yellow Dwarf (M-S)0.9327 sol1.902 sol0.004
0.987 auGlacier2.51253 earth8,156 km0.11 4
9.3 auG7V : Yellow Dwarf (M-S)0.8894 sol1.838 sol0.005
0.729 auGlacier1.56322 earth6,779 km0.01 3
2.114 auIce Ball0.14838 earth5,042 km0.04 10° 0

Full System Details

Star 1: G0 V Yellow Dwarf (M-S)

Mass 1.0603 sol
Diameter 2.086 sol
Temp 5,998°K (Lux: 1.2639 sol)
Age 7,936.749 Myears (MAX: 8,389.068 Myears)
Orbits min: 0.112 AU
inner max: 0.922 AU
life max: 1.349 AU
max: 2.900 AU

Planet 1 - Inner Zone - Rock - Rocky
Orbit dist: 0.652 AU
period: 54.52 earth days
Ecc: 0.01
Inc: 11°
Body rad: 3261.5 km
mass: 0.080 earth
grav: 0.307 earth
rot: 1,308.548 hours
tilt: 46°
Temperatures avg: 1,242.011°C
day: 1,258.616°C
night: 1,117.810°C
Water Type: Rare Ice - 1%
Atmosphere type: Very Thin
pres: 0.028 atm
comp: Carbon Dioxide
oxyg: 0
Mineral Resources Metal Ore: 3.569
Radioactive Ore: 1
Precious Metals: 1
Raw Crystals: 1
Precious Gems: 1

Moons
Moon 0: core: Rocky
orbit: 293535 km
incline: 2°
ecc: 0.09
radius: 500 km
mass: 0.00043424152049251 earth
tilt: 12°



Planet 2 - Outer Zone - Ice Ball - Icy
Orbit dist: 1.501 AU
period: 815.81 earth days
Ecc: 0.18
Inc: 4°
Body rad: 8610.5 km
mass: 1.478 earth
grav: 0.811 earth
rot: 13,605.979 hours
tilt: 34°
Temperatures avg: 698.906°C
day: 703.012°C
night: 489.234°C
Water Type: Ice - 35%
Atmosphere type: Standard
pres: 0.746 atm
comp: Methane
oxyg: 0
Mineral Resources Metal Ore: 51.663
Radioactive Ore: 1
Precious Metals: 1
Raw Crystals: 26.5326
Precious Gems: 1
Characteristics Cloud Cover
Tidal Locked




Star 2: K4 V Orange Dwarf (M-S)

Mass 0.6985 sol
Diameter 1.543 sol
Temp 4,594°K (Lux: 0.2380 sol)
Age 7,924.062 Myears (MAX: 29,342.747 Myears)
Orbits min: 0.049 AU
inner max: 0.400 AU
life max: 0.585 AU
max: 2.900 AU
Primary Distance 8.700 AU

Planet 1 - Outer Zone - Failed Core - Rocky
Orbit dist: 0.589 AU
period: 489.29 earth days
Ecc: 0.03
Inc: 2°
Body rad: 12061 km
mass: 8.804 earth
grav: 2.461 earth
rot: 11,743.054 hours
tilt: 45°
Temperatures avg: 544.764°C
day: 547.067°C
night: 272.382°C
Water Type: Ice Sheets - 54%
Atmosphere type: Dense
pres: 3.076 atm
comp: Methane
oxyg: 0
Mineral Resources Metal Ore: 81.2
Radioactive Ore: 45.2
Precious Metals: 22
Raw Crystals: 39.2
Precious Gems: 20.2
Characteristics High Radiation Levels

Moons
Moon 0: core: Icy
orbit: 1688540 km
incline: 2°
ecc: 0.08
radius: 64.5 km
mass: 2.0715144341879E-7 earth
tilt: 36°
Moon 1: core: Icy
orbit: 120610 km
incline: 2°
ecc: 0.01
radius: 500 km
mass: 4.8249057832501E-5 earth
tilt: 24°
Moon 2: core: Icy
orbit: 723660 km
incline: 2°
ecc: 0.04
radius: 500 km
mass: 4.8249057832501E-5 earth
tilt: 28°



Planet 2 - Outer Zone - Gas Giant - Icy
Orbit dist: 1.001 AU
period: 20,317.81 earth days
Ecc: 0.01
Inc: 10°
Body rad: 116985 km
mass: 3,089.864 earth
grav: 9.181 earth
rot: 487,627.353 hours
tilt: 35°
Temperatures avg: -25.000°C
day: -24.779°C
night: -5.000°C
Water Type: Crystals - 1%
Atmosphere type: Massive
pres: 936.481 atm
comp: Methane/Ammonia/Hydrogen
oxyg: 0
Mineral Resources Metal Ore: 76.8
Radioactive Ore: 48.2
Precious Metals: 21.4
Raw Crystals: 40
Precious Gems: 20.8
Characteristics High Radiation Levels

Moons
Moon 0: core: Icy
orbit: 18717600 km
incline: 9°
ecc: 0.01
radius: 500 km
mass: 0.0001447471734975 earth
tilt: 35°
Moon 1: core: Icy
orbit: 2339700 km
incline: 5°
ecc: 0.03
radius: 350.5 km
mass: 9.9722725936992E-5 earth
tilt: 78°
Moon 2: core: Icy
orbit: 14038200 km
incline: 15°
ecc: 0.09
radius: 665 km
mass: 0.00056756259335941 earth
tilt: 39°
Moon 3: core: Icy
orbit: 9358800 km
incline: 5°
ecc: 0.02
radius: 911.5 km
mass: 0.0014615673997653 earth
tilt: 8°
Moon 4: core: Icy
orbit: 16377900 km
incline: 1°
ecc: 0.0
radius: 2245 km
mass: 0.0043674491803324 earth
tilt: 26°
Moon 5: core: Icy
orbit: 1637790 km
incline: 1°
ecc: 0.02
radius: 2217.5 km
mass: 0.025253464098655 earth
tilt: 50°



Planet 3 - Outer Zone - Failed Core - Rocky
Orbit dist: 2.302 AU
period: 2,746.53 earth days
Ecc: 0.01
Inc: 0°
Body rad: 13397 km
mass: 4.641 earth
grav: 1.051 earth
rot: 65,916.764 hours
tilt: 19°
Temperatures avg: 289.655°C
day: 290.820°C
night: 144.827°C
Water Type: Ice Sheets - 49%
Atmosphere type: Dense
pres: 1.327 atm
comp: Ammonia
oxyg: 0
Mineral Resources Metal Ore: 35.985
Radioactive Ore: 31.985
Precious Metals: 10.397
Raw Crystals: 28.397
Precious Gems: 10.797
Characteristics Corrosive Atmosphere
Microbes

Moons
Moon 0: core: Icy
orbit: 241146 km
incline: 3°
ecc: 0.05
radius: 500 km
mass: 0.00019299623133 earth
tilt: 40°
Moon 1: core: Icy
orbit: 1339700 km
incline: 3°
ecc: 0.03
radius: 992 km
mass: 0.0022608153388851 earth
tilt: 46°
Moon 2: core: Icy
orbit: 160764 km
incline: 7°
ecc: 0.01
radius: 500 km
mass: 4.8249057832501E-5 earth
tilt: 15°
Moon 3: core: Icy
orbit: 2679400 km
incline: 7°
ecc: 0.04
radius: 156 km
mass: 8.7923277667311E-6 earth
tilt: 36°
Moon 4: core: Icy
orbit: 1205730 km
incline: 3°
ecc: 0.03
radius: 770.5 km
mass: 0.00035312360462225 earth
tilt: 31°




Star 3: K0 V Orange Dwarf (M-S)

Mass 0.8312 sol
Diameter 1.750 sol
Temp 5,134°K (Lux: 0.4773 sol)
Age 2,609.831 Myears (MAX: 17,413.393 Myears)
Orbits min: 0.069 AU
inner max: 0.567 AU
life max: 0.829 AU
max: 0.567 AU
Primary Distance 1.700 AU


Star 4: K1 V Orange Dwarf (M-S)

Mass 0.7966 sol
Diameter 1.697 sol
Temp 4,996°K (Lux: 0.4027 sol)
Age 9,771.726 Myears (MAX: 19,782.405 Myears)
Orbits min: 0.063 AU
inner max: 0.520 AU
life max: 0.761 AU
max: 1.667 AU
Primary Distance 5.000 AU

Planet 1 - Outer Zone - Gas Giant - Icy
Orbit dist: 0.913 AU
period: 17,468.41 earth days
Ecc: 0.03
Inc: 1°
Body rad: 124855 km
mass: 3,005.084 earth
grav: 7.839 earth
rot: 419,241.915 hours
tilt: 32°
Temperatures avg: -25.000°C
day: -24.736°C
night: -5.000°C
Water Type: Crystals - 1%
Atmosphere type: Massive
pres: 713.356 atm
comp: Methane/Ammonia/Hydrogen
oxyg: 0
Mineral Resources Metal Ore: 81.6
Radioactive Ore: 48.8
Precious Metals: 21.4
Raw Crystals: 37
Precious Gems: 20.2
Characteristics High Radiation Levels

Moons
Moon 0: core: Icy
orbit: 2497100 km
incline: 1°
ecc: 0.01
radius: 2150.5 km
mass: 0.0076776296775754 earth
tilt: 12°
Moon 1: core: Rocky
orbit: 4994200 km
incline: 1°
ecc: 0.09
radius: 500 km
mass: 0.00048249057832501 earth
tilt: 20°
Moon 2: core: Icy
orbit: 2497100 km
incline: 2°
ecc: 0.09
radius: 500 km
mass: 0.0001447471734975 earth
tilt: 56°




Star 5: G5 V Yellow Dwarf (M-S)

Mass 0.9327 sol
Diameter 1.902 sol
Temp 5,526°K (Lux: 0.7568 sol)
Age 4,890.201 Myears (MAX: 12,324.635 Myears)
Orbits min: 0.087 AU
inner max: 0.713 AU
life max: 1.044 AU
max: 2.567 AU
Primary Distance 7.700 AU

Planet 1 - Life Zone - Glacier - Rocky
Orbit dist: 0.987 AU
period: 567.31 earth days
Ecc: 0.11
Inc: 4°
Body rad: 8155.5 km
mass: 2.513 earth
grav: 1.536 earth
rot: 10,916.870 hours
tilt: 32°
Temperatures avg: -15.000°C
day: -12.625°C
night: -7.500°C
Water Type: Ice Sheets - 95%
Atmosphere type: Dense
pres: 1.805 atm
comp: Methane/Ammonia/Hydrogen
oxyg: 0.026626415147761
Mineral Resources Metal Ore: 71.5732
Radioactive Ore: 41.3732
Precious Metals: 16.9732
Raw Crystals: 31.9732
Precious Gems: 16.1732
Characteristics Tidal Locked

Moons
Moon 0: core: Rocky
orbit: 65244 km
incline: 2°
ecc: 0.01
radius: 500 km
mass: 0.00048249057832501 earth
tilt: 22°
Moon 1: core: Rocky
orbit: 815550 km
incline: 18°
ecc: 0.02
radius: 1221.5 km
mass: 0.0056279369728265 earth
tilt: 54°
Moon 2: core: Rocky
orbit: 1467990 km
incline: 5°
ecc: 0.0
radius: 2512 km
mass: 0.036710388432095 earth
tilt: 36°
Moon 3: core: Rocky
orbit: 815550 km
incline: 3°
ecc: 0.04
radius: 1566 km
mass: 0.019270698188751 earth
tilt: 23°




Star 6: G7 V Yellow Dwarf (M-S)

Mass 0.8894 sol
Diameter 1.838 sol
Temp 5,361°K (Lux: 0.6257 sol)
Age 12,430.902 Myears (MAX: 14,213.748 Myears)
Orbits min: 0.079 AU
inner max: 0.649 AU
life max: 0.949 AU
max: 3.100 AU
Primary Distance 9.300 AU

Planet 1 - Life Zone - Glacier - Rocky
Orbit dist: 0.729 AU
period: 284.11 earth days
Ecc: 0.01
Inc: 8°
Body rad: 6779 km
mass: 1.563 earth
grav: 1.383 earth
rot: 6,818.631 hours
tilt: 17°
Temperatures avg: -15.000°C
day: -12.365°C
night: -7.500°C
Water Type: Ice Sheets - 62%
Atmosphere type: Dense
pres: 1.625 atm
comp: Methane/Ammonia/Hydrogen
oxyg: 0.017521452278865
Mineral Resources Metal Ore: 57.127
Radioactive Ore: 30.127
Precious Metals: 15.2254
Raw Crystals: 35.6254
Precious Gems: 14.8254

Moons
Moon 0: core: Rocky
orbit: 1084640 km
incline: 7°
ecc: 0.03
radius: 356.5 km
mass: 0.00020986435110638 earth
tilt: 29°
Moon 1: core: Rocky
orbit: 135580 km
incline: 15°
ecc: 0.02
radius: 3052 km
mass: 0.14265131004273 earth
tilt: 28°
Moon 2: core: Rocky
orbit: 203370 km
incline: 1°
ecc: 0.01
radius: 1027.5 km
mass: 0.0016748823546645 earth
tilt: 28°



Planet 2 - Outer Zone - Ice Ball - Icy
Orbit dist: 2.114 AU
period: 432.28 earth days
Ecc: 0.04
Inc: 10°
Body rad: 5041.5 km
mass: 0.148 earth
grav: 0.237 earth
rot: 10,374.671 hours
tilt: 11°
Temperatures avg: 521.337°C
day: 531.008°C
night: 495.270°C
Water Type: Ice - 23%
Atmosphere type: Vacuum
pres: 0.000 atm
comp: None
oxyg: 0
Mineral Resources Metal Ore: 1
Radioactive Ore: 1
Precious Metals: 1
Raw Crystals: 1
Precious Gems: 1
Characteristics Strong Magnetic Field