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
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 |
---|---|---|---|---|---|---|
primary | G2V : Yellow Dwarf (M-S) | 1.0063 sol | 2.009 sol | |||
0.271 au | Desert | 0.00541 earth | 1,261 km | 0.11 | 4° | 4 |
0.326 au | Hot House | 3.92716 earth | 11,328 km | 0.05 | 11° | 5 |
0.911 au | Steppe | 0.54342 earth | 5,040 km | 0.09 | 7° | 4 |
1.276 au | Ice Ball | 0.01166 earth | 3,114 km | 0.05 | 10° | 1 |
3.318 au | Failed Core | 6.63772 earth | 11,606 km | 0.02 | 6° | 0 |
9.289 au | Ice Ball | 0.31189 earth | 5,868 km | 0.04 | 7° | 5 |
26.011 au | Ice Ball | 1.92423 earth | 10,762 km | 0.09 | 5° | 0 |
31.213 au | Failed Core | 4.10427 earth | 9,352 km | 0.15 | 2° | 0 |
Full System Details
Star 1: G2 V Yellow Dwarf (M-S)
Mass | 1.0063 sol |
Diameter | 2.009 sol |
Temp | 5,801°K (Lux: 1.0254 sol) |
Age | 1,255.400 Myears (MAX: 9,813.357 Myears) |
Orbits | min: 0.101 AU inner max: 0.830 AU life max: 1.215 AU max: 40.252 AU |
Planet 1 - Inner Zone - Desert - Rocky | |
Orbit | dist: 0.271 AU period: 3.79 earth days Ecc: 0.11 Inc: 4° |
Body | rad: 1260.5 km mass: 0.005 earth grav: 0.138 earth rot: 72.998 hours tilt: 19° |
Temperatures | avg: 1,624.490°C day: 1,639.765°C night: 1,380.817°C |
Water Type: | Ice - 6% |
Atmosphere | type: Thin pres: 0.075 atm comp: Carbon Dioxide oxyg: 0 |
Mineral Resources | Metal Ore: 10.8235 Radioactive Ore: 1 Precious Metals: 1 Raw Crystals: 1 Precious Gems: 1 |
Characteristics | Tidal Locked |
Moons | |
Moon 0: | core: Rocky orbit: 17647 km incline: 6° ecc: 0.05 radius: 728.5 km mass: 0.0014923390129666 earth tilt: 73° |
Moon 1: | core: Rocky orbit: 151260 km incline: 3° ecc: 0.02 radius: 500 km mass: 0.00019299623133 earth tilt: 18° |
Moon 2: | core: Rocky orbit: 100840 km incline: 10° ecc: 0.14 radius: 500 km mass: 0.00019299623133 earth tilt: 46° |
Moon 3: | core: Rocky orbit: 22689 km incline: 0° ecc: 0.11 radius: 684.5 km mass: 0.0011141449370119 earth tilt: 44° |
Planet 2 - Inner Zone - Hot House - Rocky | |
Orbit | dist: 0.326 AU period: 134.34 earth days Ecc: 0.05 Inc: 11° |
Body | rad: 11327.5 km mass: 3.927 earth grav: 1.245 earth rot: 3,224.064 hours tilt: 31° |
Temperatures | avg: 1,356.463°C day: 1,357.021°C night: 271.293°C |
Water Type: | None - % |
Atmosphere | type: Massive pres: 136.906 atm comp: Carbon Dioxide oxyg: 0 |
Mineral Resources | Metal Ore: 46.2925 Radioactive Ore: 40.4585 Precious Metals: 12.8585 Raw Crystals: 32.8585 Precious Gems: 12.2585 |
Characteristics | Cloud Cover |
Moons | |
Moon 0: | core: Rocky orbit: 792925 km incline: 0° ecc: 0.05 radius: 1633.5 km mass: 0.020189124522933 earth tilt: 41° |
Moon 1: | core: Rocky orbit: 906200 km incline: 5° ecc: 0.03 radius: 500 km mass: 0.000289494346995 earth tilt: 41° |
Moon 2: | core: Rocky orbit: 453100 km incline: 8° ecc: 0.02 radius: 1914.5 km mass: 0.010834401550089 earth tilt: 55° |
Moon 3: | core: Rocky orbit: 1246025 km incline: 4° ecc: 0.07 radius: 2869.5 km mass: 0.091200561348407 earth tilt: 27° |
Moon 4: | core: Rocky orbit: 1019475 km incline: 6° ecc: 0.01 radius: 3323.5 km mass: 0.11335896200129 earth tilt: 5° |
Planet 3 - Life Zone - Steppe - Rocky | |
Orbit | dist: 0.911 AU period: 234.13 earth days Ecc: 0.09 Inc: 7° |
Body | rad: 5039.5 km mass: 0.543 earth grav: 0.870 earth rot: 5,619.118 hours tilt: 73° |
Temperatures | avg: 680.653°C day: 683.320°C night: 340.327°C |
Water Type: | Oceans - 49% |
Atmosphere | type: Dense pres: 0.990 atm comp: Nitrogen/Oxygen oxyg: 0.15662151184639 |
Mineral Resources | Metal Ore: 39.4345 Radioactive Ore: 4.4345 Precious Metals: 1 Raw Crystals: 27.0869 Precious Gems: 1 |
Characteristics | Extreme Axial Tilt High Humidity Strong Magnetic Field |
Moons | |
Moon 0: | core: Rocky orbit: 201580 km incline: 9° ecc: 0.04 radius: 500 km mass: 0.00019299623133 earth tilt: 30° |
Moon 1: | core: Rocky orbit: 151185 km incline: 3° ecc: 0.02 radius: 3447.5 km mass: 0.15815817637702 earth tilt: 39° |
Moon 2: | core: Rocky orbit: 554345 km incline: 6° ecc: 0.11 radius: 2257.5 km mass: 0.057730517887773 earth tilt: 10° |
Moon 3: | core: Rocky orbit: 151185 km incline: 8° ecc: 0.09 radius: 135 km mass: 3.7987448212685E-6 earth tilt: 19° |
Planet 4 - Outer Zone - Ice Ball - Icy | |
Orbit | dist: 1.276 AU period: 56.80 earth days Ecc: 0.05 Inc: 10° |
Body | rad: 3114 km mass: 0.012 earth grav: 0.049 earth rot: 1,363.203 hours tilt: 29° |
Temperatures | avg: 766.339°C day: 780.424°C night: 728.022°C |
Water Type: | Ice - 31% |
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: 186840 km incline: 1° ecc: 0.02 radius: 2179.5 km mass: 0.0079924410171782 earth tilt: 49° |
Planet 5 - Outer Zone - Failed Core - Rocky | |
Orbit | dist: 3.318 AU period: 5,682.66 earth days Ecc: 0.02 Inc: 6° |
Body | rad: 11606 km mass: 6.638 earth grav: 2.004 earth rot: 136,383.826 hours tilt: 16° |
Temperatures | avg: 349.572°C day: 350.970°C night: 174.786°C |
Water Type: | Ice Sheets - 84% |
Atmosphere | type: Dense pres: 2.430 atm comp: Ammonia oxyg: 0.031324302369277 |
Mineral Resources | Metal Ore: 74.4 Radioactive Ore: 44.2 Precious Metals: 21.8 Raw Crystals: 40.4 Precious Gems: 20.6 |
Characteristics | Corrosive Atmosphere |
Planet 6 - Outer Zone - Ice Ball - Icy | |
Orbit | dist: 9.289 AU period: 5,771.36 earth days Ecc: 0.04 Inc: 7° |
Body | rad: 5867.5 km mass: 0.312 earth grav: 0.368 earth rot: 4.018 hours tilt: 84° |
Temperatures | avg: 257.010°C day: 259.620°C night: 218.458°C |
Water Type: | Ice - 50% |
Atmosphere | type: Thin pres: 0.177 atm comp: Carbon Dioxide oxyg: 0 |
Mineral Resources | Metal Ore: 19.47 Radioactive Ore: 1 Precious Metals: 1 Raw Crystals: 1 Precious Gems: 1 |
Characteristics | Extreme Axial Tilt Strong Magnetic Field |
Moons | |
Moon 0: | core: Icy orbit: 70410 km incline: 4° ecc: 0.03 radius: 500 km mass: 0.0002412452891625 earth tilt: 36° |
Moon 1: | core: Icy orbit: 821450 km incline: 1° ecc: 0.02 radius: 500 km mass: 9.6498115665002E-5 earth tilt: 31° |
Moon 2: | core: Icy orbit: 176025 km incline: 0° ecc: 0.03 radius: 500 km mass: 0.00019299623133 earth tilt: 43° |
Moon 3: | core: Icy orbit: 821450 km incline: 9° ecc: 0.1 radius: 3346.5 km mass: 0.057864379921984 earth tilt: 30° |
Moon 4: | core: Rocky orbit: 1173500 km incline: 12° ecc: 0.03 radius: 2912.5 km mass: 0.095362280071218 earth tilt: 8° |
Planet 7 - Outer Zone - Ice Ball - Icy | |
Orbit | dist: 26.011 AU period: 67,165.27 earth days Ecc: 0.09 Inc: 5° |
Body | rad: 10761.5 km mass: 1.924 earth grav: 0.676 earth rot: 1,611,966.390 hours tilt: 26° |
Temperatures | avg: 172.410°C day: 175.530°C night: 163.789°C |
Water Type: | Ice - 21% |
Atmosphere | type: Vacuum pres: 0.000 atm comp: None oxyg: 0 |
Mineral Resources | Metal Ore: 43.046 Radioactive Ore: 17.046 Precious Metals: 1 Raw Crystals: 1 Precious Gems: 1 |
Characteristics | High Radiation Levels |
Planet 8 - Outer Zone - Failed Core - Rocky | |
Orbit | dist: 31.213 AU period: 128,945.39 earth days Ecc: 0.15 Inc: 2° |
Body | rad: 9352 km mass: 4.104 earth grav: 1.908 earth rot: 2,287,379.104 hours tilt: 47° |
Temperatures | avg: 118.869°C day: 119.325°C night: 59.434°C |
Water Type: | Ice Sheets - 52% |
Atmosphere | type: Dense pres: 2.195 atm comp: Ammonia oxyg: 0.0062648604738554 |
Mineral Resources | Metal Ore: 68 Radioactive Ore: 46.8 Precious Metals: 21.6 Raw Crystals: 39.4 Precious Gems: 21.4 |
Characteristics | Corrosive Atmosphere Tidal Locked |