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
primaryG1V : Yellow Dwarf (M-S)1.0248 sol2.036 sol
1.095 auDesert0.68442 earth5,618 km0.0 2
3.4 auK0V : Orange Dwarf (M-S)0.8378 sol1.760 sol0.00210°
0.450 auHot House1.78876 earth7,091 km0.01 0
0.855 auIce Ball0.12102 earth6,794 km0.03 2
6.1 auG1V : Yellow Dwarf (M-S)1.0369 sol2.053 sol0.01511°
1.018 auSteppe1.16172 earth7,219 km0.01 4
1.2 auG4V : Yellow Dwarf (M-S)0.9634 sol1.947 sol0.001
No planets

Full System Details

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

Mass 1.0248 sol
Diameter 2.036 sol
Temp 5,869°K (Lux: 1.1030 sol)
Age 4,724.097 Myears (MAX: 9,291.432 Myears)
Orbits min: 0.105 AU
inner max: 0.861 AU
life max: 1.260 AU
max: 1.133 AU

Planet 1 - Life Zone - Desert - Rocky
Orbit dist: 1.095 AU
period: 346.01 earth days
Ecc: 0.0
Inc: 9°
Body rad: 5618 km
mass: 0.684 earth
grav: 0.882 earth
rot: 8,304.244 hours
tilt: 17°
Temperatures avg: 719.163°C
day: 726.905°C
night: 611.289°C
Water Type: Ice - 12.25%
Atmosphere type: Thin
pres: 0.428 atm
comp: Carbon Dioxide
oxyg: 0
Mineral Resources Metal Ore: 65.18
Radioactive Ore: 20.18
Precious Metals: 4.18
Raw Crystals: 25.236
Precious Gems: 4.18

Moons
Moon 0: core: Rocky
orbit: 44944 km
incline: 4°
ecc: 0.03
radius: 1939.5 km
mass: 0.014080503353542 earth
tilt: 30°
Moon 1: core: Rocky
orbit: 67416 km
incline: 1°
ecc: 0.05
radius: 500 km
mass: 0.00053073963615751 earth
tilt: 40°




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

Mass 0.8378 sol
Diameter 1.760 sol
Temp 5,160°K (Lux: 0.4927 sol)
Age 14,208.581 Myears (MAX: 17,005.090 Myears)
Orbits min: 0.070 AU
inner max: 0.576 AU
life max: 0.842 AU
max: 1.133 AU
Primary Distance 3.400 AU

Planet 1 - Inner Zone - Hot House - Rocky
Orbit dist: 0.450 AU
period: 147.46 earth days
Ecc: 0.01
Inc: 3°
Body rad: 7090.5 km
mass: 1.789 earth
grav: 1.447 earth
rot: 3,538.959 hours
tilt: 22°
Temperatures avg: 1,025.149°C
day: 1,025.544°C
night: 205.030°C
Water Type: None - %
Atmosphere type: Massive
pres: 147.577 atm
comp: Carbon Dioxide
oxyg: 0
Mineral Resources Metal Ore: 56.1765
Radioactive Ore: 43.6353
Precious Metals: 15.8353
Raw Crystals: 34.2353
Precious Gems: 14.6353
Characteristics High Radiation Levels
Unstable Climate



Planet 2 - Outer Zone - Ice Ball - Icy
Orbit dist: 0.855 AU
period: 100.45 earth days
Ecc: 0.03
Inc: 0°
Body rad: 6793.5 km
mass: 0.121 earth
grav: 0.107 earth
rot: 2,410.790 hours
tilt: 22°
Temperatures avg: 780.293°C
day: 794.616°C
night: 741.279°C
Water Type: Ice - 28%
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: 67935 km
incline: 4°
ecc: 0.03
radius: 2923.5 km
mass: 0.019289373143973 earth
tilt: 28°
Moon 1: core: Icy
orbit: 407610 km
incline: 6°
ecc: 0.03
radius: 500 km
mass: 4.8249057832501E-5 earth
tilt: 6°




Star 3: G1 V Yellow Dwarf (M-S)

Mass 1.0369 sol
Diameter 2.053 sol
Temp 5,913°K (Lux: 1.1560 sol)
Age 2,203.136 Myears (MAX: 8,969.937 Myears)
Orbits min: 0.108 AU
inner max: 0.882 AU
life max: 1.290 AU
max: 2.033 AU
Primary Distance 6.100 AU

Planet 1 - Life Zone - Steppe - Rocky
Orbit dist: 1.018 AU
period: 403.79 earth days
Ecc: 0.01
Inc: 1°
Body rad: 7219 km
mass: 1.162 earth
grav: 0.906 earth
rot: 9,690.943 hours
tilt: 24°
Temperatures avg: 804.593°C
day: 809.469°C
night: 563.215°C
Water Type: Oceans - 34%
Atmosphere type: Standard
pres: 0.916 atm
comp: Nitrogen/Oxygen
oxyg: 0.12690941334181
Mineral Resources Metal Ore: 62.752
Radioactive Ore: 3.752
Precious Metals: 7.752
Raw Crystals: 24.3504
Precious Gems: 1
Characteristics High Humidity
Life-Forms: Semi-Intelligent

Moons
Moon 0: core: Rocky
orbit: 288760 km
incline: 4°
ecc: 0.04
radius: 2335.5 km
mass: 0.039337651279487 earth
tilt: 15°
Moon 1: core: Rocky
orbit: 216570 km
incline: 8°
ecc: 0.54
radius: 856 km
mass: 0.00096841188236166 earth
tilt: 19°
Moon 2: core: Rocky
orbit: 360950 km
incline: 16°
ecc: 0.03
radius: 1747.5 km
mass: 0.010299126247691 earth
tilt: 30°
Moon 3: core: Rocky
orbit: 794090 km
incline: 10°
ecc: 0.01
radius: 1084 km
mass: 0.0024583101548825 earth
tilt: 32°




Star 4: G4 V Yellow Dwarf (M-S)

Mass 0.9634 sol
Diameter 1.947 sol
Temp 5,641°K (Lux: 0.8614 sol)
Age 1,545.357 Myears (MAX: 11,183.560 Myears)
Orbits min: 0.093 AU
inner max: 0.761 AU
life max: 1.114 AU
max: 0.400 AU
Primary Distance 1.200 AU