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
primaryG2V : Yellow Dwarf (M-S)1.0071 sol2.010 sol
0.471 auRock0.68110 earth6,317 km0.04 3
0.707 auHot House1.59716 earth8,835 km0.09 18° 1
0.849 auTerran0.74651 earth5,442 km1.75 4
1.188 auTerran0.64941 earth5,195 km0.15 3
8.3 auK0V : Orange Dwarf (M-S)0.8292 sol1.747 sol0.000
0.839 auIce Ball0.02329 earth2,720 km0.04 3
1.342 auIce Ball0.04497 earth4,884 km0.0 10° 4

Full System Details

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

Mass 1.0071 sol
Diameter 2.010 sol
Temp 5,804°K (Lux: 1.0287 sol)
Age 6,303.562 Myears (MAX: 9,789.989 Myears)
Orbits min: 0.101 AU
inner max: 0.832 AU
life max: 1.217 AU
max: 2.767 AU

Planet 1 - Inner Zone - Rock - Rocky
Orbit dist: 0.471 AU
period: 97.50 earth days
Ecc: 0.04
Inc: 2°
Body rad: 6317 km
mass: 0.681 earth
grav: 0.694 earth
rot: 2,340.064 hours
tilt: 22°
Temperatures avg: 1,488.655°C
day: 1,511.847°C
night: 1,414.223°C
Water Type: Rare Ice - 1%
Atmosphere type: Vacuum
pres: 0.000 atm
comp: None
oxyg: 0
Mineral Resources Metal Ore: 1
Radioactive Ore: 1
Precious Metals: 1
Raw Crystals: 25.0438
Precious Gems: 1

Moons
Moon 0: core: Rocky
orbit: 101072 km
incline: 13°
ecc: 0.18
radius: 500 km
mass: 0.00053073963615751 earth
tilt: 38°
Moon 1: core: Rocky
orbit: 1010720 km
incline: 9°
ecc: 0.02
radius: 864 km
mass: 0.0022405908654598 earth
tilt: 15°
Moon 2: core: Rocky
orbit: 631700 km
incline: 9°
ecc: 0.2
radius: 1221 km
mass: 0.0077289144679882 earth
tilt: 55°



Planet 2 - Inner Zone - Hot House - Rocky
Orbit dist: 0.707 AU
period: 274.30 earth days
Ecc: 0.09
Inc: 18°
Body rad: 8835 km
mass: 1.597 earth
grav: 0.832 earth
rot: 6,583.166 hours
tilt: 19°
Temperatures avg: 891.444°C
day: 891.822°C
night: 178.289°C
Water Type: None - %
Atmosphere type: Massive
pres: 79.046 atm
comp: Carbon Dioxide
oxyg: 0
Mineral Resources Metal Ore: 6.01
Radioactive Ore: 1
Precious Metals: 2.01
Raw Crystals: 24.402
Precious Gems: 1

Moons
Moon 0: core: Rocky
orbit: 706800 km
incline: 0°
ecc: 0.04
radius: 500 km
mass: 0.000289494346995 earth
tilt: 39°



Planet 3 - Life Zone - Terran - Rocky
Orbit dist: 0.849 AU
period: 246.51 earth days
Ecc: 1.75
Inc: 9°
Body rad: 5442 km
mass: 0.747 earth
grav: 1.025 earth
rot: -1,613.534 hours
tilt: 41°
Temperatures avg: 735.722°C
day: 738.488°C
night: 367.861°C
Water Type: Oceans - 69%
Atmosphere type: Dense
pres: 1.179 atm
comp: Nitrogen/Oxygen
oxyg: 0.20500693430217
Mineral Resources Metal Ore: 35.304
Radioactive Ore: 18.304
Precious Metals: 10.6608
Raw Crystals: 27.0608
Precious Gems: 10.0608
Characteristics Atmospheric Contaminants
Cloud Cover
Extreme Volcanism
High Humidity
Life-Forms: Semi-Intelligent
Strong Magnetic Field
Orbital Eccentricity
Tidal Locked

Moons
Moon 0: core: Rocky
orbit: 598620 km
incline: 18°
ecc: 0.04
radius: 1863.5 km
mass: 0.019982830402935 earth
tilt: 11°
Moon 1: core: Rocky
orbit: 65304 km
incline: 6°
ecc: 0.05
radius: 3434 km
mass: 0.14067671103301 earth
tilt: 37°
Moon 2: core: Rocky
orbit: 54420 km
incline: 17°
ecc: 0.05
radius: 500 km
mass: 0.00033774340482751 earth
tilt: 15°
Moon 3: core: Rocky
orbit: 653040 km
incline: 7°
ecc: 0.02
radius: 403 km
mass: 0.00010105410358746 earth
tilt: 33°



Planet 4 - Life Zone - Terran - Rocky
Orbit dist: 1.188 AU
period: 380.86 earth days
Ecc: 0.15
Inc: 9°
Body rad: 5195 km
mass: 0.649 earth
grav: 0.979 earth
rot: 6,756.213 hours
tilt: 45°
Temperatures avg: 646.734°C
day: 651.117°C
night: 452.714°C
Water Type: Oceans - 66%
Atmosphere type: Standard
pres: 1.018 atm
comp: Nitrogen/Oxygen
oxyg: 0.19570213592425
Mineral Resources Metal Ore: 27.34
Radioactive Ore: 32.34
Precious Metals: 8.34
Raw Crystals: 30.068
Precious Gems: 5.34
Characteristics Cloud Cover
High Humidity
Life-Forms: Intelligent
Tidal Locked

Moons
Moon 0: core: Rocky
orbit: 207800 km
incline: 7°
ecc: 0.01
radius: 500 km
mass: 0.00043424152049251 earth
tilt: 19°
Moon 1: core: Rocky
orbit: 72730 km
incline: 0°
ecc: 0.02
radius: 1088 km
mass: 0.0064626236057536 earth
tilt: 33°
Moon 2: core: Rocky
orbit: 831200 km
incline: 10°
ecc: 0.04
radius: 1551.5 km
mass: 0.012974083043839 earth
tilt: 33°




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

Mass 0.8292 sol
Diameter 1.747 sol
Temp 5,126°K (Lux: 0.4728 sol)
Age 12,478.676 Myears (MAX: 17,539.698 Myears)
Orbits min: 0.069 AU
inner max: 0.564 AU
life max: 0.825 AU
max: 2.767 AU
Primary Distance 8.300 AU

Planet 1 - Outer Zone - Ice Ball - Icy
Orbit dist: 0.839 AU
period: 42.79 earth days
Ecc: 0.04
Inc: 5°
Body rad: 2719.5 km
mass: 0.023 earth
grav: 0.128 earth
rot: 1,026.933 hours
tilt: 33°
Temperatures avg: 738.859°C
day: 750.312°C
night: 664.974°C
Water Type: Ice - 35%
Atmosphere type: Very Thin
pres: 0.013 atm
comp: Carbon Dioxide
oxyg: 0
Mineral Resources Metal Ore: 1
Radioactive Ore: 1
Precious Metals: 1
Raw Crystals: 1
Precious Gems: 1

Moons
Moon 0: core: Icy
orbit: 48951 km
incline: 3°
ecc: 0.0
radius: 500 km
mass: 0.0001447471734975 earth
tilt: 33°
Moon 1: core: Icy
orbit: 163170 km
incline: 3°
ecc: 0.04
radius: 128 km
mass: 4.0474243252618E-6 earth
tilt: 20°
Moon 2: core: Icy
orbit: 271950 km
incline: 10°
ecc: 0.0
radius: 1167 km
mass: 0.0012269345268783 earth
tilt: 25°



Planet 2 - Outer Zone - Ice Ball - Icy
Orbit dist: 1.342 AU
period: 120.33 earth days
Ecc: 0.0
Inc: 10°
Body rad: 4884 km
mass: 0.045 earth
grav: 0.077 earth
rot: 2,887.962 hours
tilt: 43°
Temperatures avg: 612.518°C
day: 623.835°C
night: 581.892°C
Water Type: Ice - 38%
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

Moons
Moon 0: core: Icy
orbit: 78144 km
incline: 5°
ecc: 0.04
radius: 500 km
mass: 9.6498115665002E-5 earth
tilt: 9°
Moon 1: core: Icy
orbit: 976800 km
incline: 4°
ecc: 0.04
radius: 1039 km
mass: 0.00043293776108524 earth
tilt: 34°
Moon 2: core: Rocky
orbit: 97680 km
incline: 10°
ecc: 0.11
radius: 1435.5 km
mass: 0.012559753035145 earth
tilt: 20°
Moon 3: core: Rocky
orbit: 390720 km
incline: 2°
ecc: 0.0
radius: 500 km
mass: 0.0002412452891625 earth
tilt: 36°