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 | K4V : Orange Dwarf (M-S) | 0.6883 sol | 1.527 sol | |||
0.387 au | Desert | 0.94707 earth | 7,423 km | 0.04 | 0° | 5 |
0.465 au | Glacier | 2.23831 earth | 8,339 km | 0.05 | 5° | 2 |
1.627 au | Ice Ball | 0.00456 earth | 2,278 km | 0.01 | 4° | 5 |
1.627 au | Gas Giant | 3,705.93545 earth | 116,965 km | 0.01 | 23° | 15 |
1.790 au | Failed Core | 1.91396 earth | 7,668 km | 0.05 | 2° | 3 |
1.790 au | Failed Core | 8.23200 earth | 11,794 km | 0.09 | 11° | 5 |
4.832 au | Ice Ball | 0.03081 earth | 3,418 km | 0.0 | 10° | 5 |
6.282 au | Ice Ball | 0.02229 earth | 2,127 km | 0.03 | 11° | 1 |
20.102 au | Ice Ball | 0.03678 earth | 2,671 km | 0.06 | 17° | 4 |
Full System Details
Star 1: K4 V Orange Dwarf (M-S)
Mass | 0.6883 sol |
Diameter | 1.527 sol |
Temp | 4,551°K (Lux: 0.2244 sol) |
Age | 3,687.696 Myears (MAX: 30,666.675 Myears) |
Orbits | min: 0.047 AU inner max: 0.388 AU life max: 0.569 AU max: 27.532 AU |
Planet 1 - Inner Zone - Desert - Rocky | |
Orbit | dist: 0.387 AU period: 85.64 earth days Ecc: 0.04 Inc: 0° |
Body | rad: 7422.5 km mass: 0.947 earth grav: 0.699 earth rot: 2,055.384 hours tilt: 53° |
Temperatures | avg: 974.999°C day: 983.742°C night: 828.750°C |
Water Type: | Ice - 9% |
Atmosphere | type: Thin pres: 0.363 atm comp: Carbon Dioxide oxyg: 0 |
Mineral Resources | Metal Ore: 10.535 Radioactive Ore: 3.535 Precious Metals: 1 Raw Crystals: 1 Precious Gems: 1 |
Characteristics | Extreme Axial Tilt Strong Magnetic Field |
Moons | |
Moon 0: | core: Rocky orbit: 371125 km incline: 9° ecc: 0.0 radius: 2387 km mass: 0.062996631415237 earth tilt: 29° |
Moon 1: | core: Rocky orbit: 59380 km incline: 8° ecc: 0.02 radius: 500 km mass: 0.00062723775182251 earth tilt: 35° |
Moon 2: | core: Rocky orbit: 148450 km incline: 6° ecc: 0.02 radius: 500 km mass: 0.00053073963615751 earth tilt: 22° |
Moon 3: | core: Rocky orbit: 890700 km incline: 4° ecc: 0.15 radius: 1863 km mass: 0.032445968424742 earth tilt: 37° |
Moon 4: | core: Rocky orbit: 445350 km incline: 3° ecc: 0.02 radius: 3149 km mass: 0.096424366243631 earth tilt: 19° |
Planet 2 - Life Zone - Glacier - Rocky | |
Orbit | dist: 0.465 AU period: 173.07 earth days Ecc: 0.05 Inc: 5° |
Body | rad: 8339 km mass: 2.238 earth grav: 1.309 earth rot: 4,153.698 hours tilt: 29° |
Temperatures | avg: -15.000°C day: -12.446°C night: -7.500°C |
Water Type: | Ice Sheets - 62% |
Atmosphere | type: Dense pres: 1.505 atm comp: Methane/Ammonia/Hydrogen oxyg: 0.016579639673818 |
Mineral Resources | Metal Ore: 65.39 Radioactive Ore: 42.678 Precious Metals: 14.278 Raw Crystals: 31.478 Precious Gems: 12.878 |
Characteristics | Orbital Conjunction |
Moons | |
Moon 0: | core: Rocky orbit: 1834580 km incline: 8° ecc: 0.0 radius: 1378.5 km mass: 0.0060666701960302 earth tilt: 12° |
Moon 1: | core: Rocky orbit: 1834580 km incline: 1° ecc: 0.01 radius: 1104 km mass: 0.0062325718015661 earth tilt: 47° |
Planet 3 - Outer Zone - Ice Ball - Icy | |
Orbit | dist: 1.627 AU period: 51.17 earth days Ecc: 0.01 Inc: 4° |
Body | rad: 2278 km mass: 0.005 earth grav: 0.036 earth rot: 1,227.995 hours tilt: 27° |
Temperatures | avg: 478.217°C day: 486.749°C night: 454.306°C |
Water Type: | Ice - 25% |
Atmosphere | type: Vacuum pres: 0.000 atm comp: None oxyg: 0 |
Mineral Resources | Metal Ore: 8.278 Radioactive Ore: 1 Precious Metals: 1 Raw Crystals: 1 Precious Gems: 1 |
Moons | |
Moon 0: | core: Icy orbit: 91120 km incline: 3° ecc: 0.07 radius: 969 km mass: 0.0017559824040051 earth tilt: 5° |
Moon 1: | core: Icy orbit: 45560 km incline: 8° ecc: 0.09 radius: 1222 km mass: 0.00070435636244238 earth tilt: 28° |
Moon 2: | core: Icy orbit: 205020 km incline: 9° ecc: 0.05 radius: 1283.25 km mass: 0.0024469995964577 earth tilt: 18° |
Moon 3: | core: Icy orbit: 273360 km incline: 7° ecc: 0.78 radius: 142.5 km mass: 5.584617354484E-6 earth tilt: 21° |
Moon 4: | core: Icy orbit: 113900 km incline: 2° ecc: 0.16 radius: 500 km mass: 0.000289494346995 earth tilt: 30° |
Planet 4 - Outer Zone - Gas Giant - Icy | |
Orbit | dist: 1.627 AU period: 46,112.03 earth days Ecc: 0.01 Inc: 23° |
Body | rad: 116965 km mass: 3,705.935 earth grav: 11.016 earth rot: 1,106,688.786 hours tilt: 43° |
Temperatures | avg: -25.000°C day: -24.829°C night: -5.000°C |
Water Type: | Crystals - 1% |
Atmosphere | type: Massive pres: 1,024.446 atm comp: Methane/Ammonia/Hydrogen oxyg: 0.0033159279347636 |
Mineral Resources | Metal Ore: 80.2 Radioactive Ore: 49.2 Precious Metals: 21.4 Raw Crystals: 36.4 Precious Gems: 22 |
Moons | |
Moon 0: | core: Icy orbit: 9357200 km incline: 8° ecc: 0.07 radius: 2927.5 km mass: 0.058105974052896 earth tilt: 16° |
Moon 1: | core: Icy orbit: 7017900 km incline: 22° ecc: 0.01 radius: 500 km mass: 0.00019299623133 earth tilt: 8° |
Moon 2: | core: Rocky orbit: 18714400 km incline: 16° ecc: 0.03 radius: 500 km mass: 0.00019299623133 earth tilt: 14° |
Moon 3: | core: Icy orbit: 5848250 km incline: 6° ecc: 0.01 radius: 1046 km mass: 0.0004417472736224 earth tilt: 29° |
Moon 4: | core: Icy orbit: 14035800 km incline: 0° ecc: 0.04 radius: 3110.5 km mass: 0.058081716889973 earth tilt: 78° |
Moon 5: | core: Rocky orbit: 23393000 km incline: 9° ecc: 0.04 radius: 2885.5 km mass: 0.083461189412289 earth tilt: 43° |
Moon 6: | core: Icy orbit: 1637510 km incline: 7° ecc: 0.13 radius: 1329 km mass: 0.0027181600286922 earth tilt: 18° |
Moon 7: | core: Icy orbit: 14035800 km incline: 14° ecc: 0.01 radius: 500 km mass: 0.000289494346995 earth tilt: 21° |
Moon 8: | core: Icy orbit: 1403580 km incline: 1° ecc: 0.07 radius: 2210.5 km mass: 0.0083383549350217 earth tilt: 11° |
Moon 9: | core: Icy orbit: 21053700 km incline: 8° ecc: 0.05 radius: 500 km mass: 0.0001447471734975 earth tilt: 15° |
Moon 10: | core: Icy orbit: 7017900 km incline: 7° ecc: 0.1 radius: 577.5 km mass: 0.00029736837611251 earth tilt: 30° |
Moon 11: | core: Icy orbit: 9357200 km incline: 9° ecc: 0.01 radius: 3285 km mass: 0.027366228039544 earth tilt: 33° |
Moon 12: | core: Rocky orbit: 1637510 km incline: 2° ecc: 0.05 radius: 748 km mass: 0.0012923305317395 earth tilt: 45° |
Moon 13: | core: Icy orbit: 23393000 km incline: 4° ecc: 0.0 radius: 3145.5 km mass: 0.048051603421229 earth tilt: 14° |
Moon 14: | core: Icy orbit: 7017900 km incline: 18° ecc: 0.0 radius: 3018 km mass: 0.042442066535208 earth tilt: 12° |
Planet 5 - Outer Zone - Failed Core - Rocky | |
Orbit | dist: 1.790 AU period: 1,208.98 earth days Ecc: 0.05 Inc: 2° |
Body | rad: 7667.5 km mass: 1.914 earth grav: 1.324 earth rot: 29,015.633 hours tilt: 8° |
Temperatures | avg: 407.697°C day: 408.998°C night: 203.848°C |
Water Type: | Ice Sheets - 32% |
Atmosphere | type: Dense pres: 1.622 atm comp: Ammonia oxyg: 0.00066318558695272 |
Mineral Resources | Metal Ore: 71.6685 Radioactive Ore: 42.8685 Precious Metals: 13.8685 Raw Crystals: 33.6685 Precious Gems: 13.4685 |
Characteristics | Corrosive Atmosphere |
Moons | |
Moon 0: | core: Rocky orbit: 536725 km incline: 8° ecc: 0.01 radius: 500 km mass: 0.00033774340482751 earth tilt: 31° |
Moon 1: | core: Icy orbit: 613400 km incline: 6° ecc: 0.01 radius: 500 km mass: 0.000289494346995 earth tilt: 33° |
Moon 2: | core: Icy orbit: 92010 km incline: 16° ecc: 0.05 radius: 1313.5 km mass: 0.0034988799921986 earth tilt: 25° |
Planet 6 - Outer Zone - Failed Core - Rocky | |
Orbit | dist: 1.790 AU period: 2,507.30 earth days Ecc: 0.09 Inc: 11° |
Body | rad: 11794 km mass: 8.232 earth grav: 2.407 earth rot: 60,175.317 hours tilt: 35° |
Temperatures | avg: 410.131°C day: 411.432°C night: 205.065°C |
Water Type: | Ice Sheets - 55% |
Atmosphere | type: Dense pres: 3.098 atm comp: Methane oxyg: 0.00013263711739054 |
Mineral Resources | Metal Ore: 76.6 Radioactive Ore: 47.6 Precious Metals: 21.8 Raw Crystals: 39 Precious Gems: 20.6 |
Moons | |
Moon 0: | core: Icy orbit: 1179400 km incline: 8° ecc: 0.04 radius: 2615 km mass: 0.03451150575175 earth tilt: 31° |
Moon 1: | core: Icy orbit: 1415280 km incline: 9° ecc: 0.01 radius: 1749 km mass: 0.0020651340748922 earth tilt: 35° |
Moon 2: | core: Icy orbit: 2594680 km incline: 8° ecc: 0.11 radius: 1098.5 km mass: 0.002558285517663 earth tilt: 17° |
Moon 3: | core: Icy orbit: 2122920 km incline: 8° ecc: 0.19 radius: 500 km mass: 4.8249057832501E-5 earth tilt: 26° |
Moon 4: | core: Icy orbit: 471760 km incline: 13° ecc: 0.02 radius: 1226.5 km mass: 0.0042729984199299 earth tilt: 19° |
Planet 7 - Outer Zone - Ice Ball - Icy | |
Orbit | dist: 4.832 AU period: 680.56 earth days Ecc: 0.0 Inc: 10° |
Body | rad: 3417.5 km mass: 0.031 earth grav: 0.107 earth rot: 16,333.470 hours tilt: 27° |
Temperatures | avg: 281.378°C day: 286.329°C night: 267.309°C |
Water Type: | Ice - 12% |
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 |
Moons | |
Moon 0: | core: Icy orbit: 102525 km incline: 0° ecc: 0.13 radius: 500 km mass: 9.6498115665002E-5 earth tilt: 37° |
Moon 1: | core: Icy orbit: 205050 km incline: 6° ecc: 0.11 radius: 714 km mass: 0.00084299443940924 earth tilt: 37° |
Moon 2: | core: Rocky orbit: 546800 km incline: 2° ecc: 0.03 radius: 769.5 km mass: 0.001231126661949 earth tilt: 42° |
Moon 3: | core: Icy orbit: 683500 km incline: 13° ecc: 2.37 radius: 2738.5 km mass: 0.023781449117329 earth tilt: 37° |
Moon 4: | core: Icy orbit: 410100 km incline: 2° ecc: 0.06 radius: 1278 km mass: 0.0016113926610074 earth tilt: 25° |
Planet 8 - Outer Zone - Ice Ball - Icy | |
Orbit | dist: 6.282 AU period: 857.89 earth days Ecc: 0.03 Inc: 11° |
Body | rad: 2127 km mass: 0.022 earth grav: 0.200 earth rot: 8.853 hours tilt: 34° |
Temperatures | avg: 181.294°C day: 183.465°C night: 154.100°C |
Water Type: | Ice - 51% |
Atmosphere | type: Thin pres: 0.091 atm comp: Carbon Dioxide oxyg: 0 |
Mineral Resources | Metal Ore: 20.762 Radioactive Ore: 1 Precious Metals: 1 Raw Crystals: 1 Precious Gems: 1 |
Moons | |
Moon 0: | core: Icy orbit: 85080 km incline: 12° ecc: 0.11 radius: 641.5 km mass: 0.00030569621468665 earth tilt: 28° |
Planet 9 - Outer Zone - Ice Ball - Icy | |
Orbit | dist: 20.102 AU period: 6,308.49 earth days Ecc: 0.06 Inc: 17° |
Body | rad: 2671 km mass: 0.037 earth grav: 0.210 earth rot: 6.322 hours tilt: 28° |
Temperatures | avg: 108.444°C day: 109.658°C night: 92.178°C |
Water Type: | Ice - 58% |
Atmosphere | type: Thin pres: 0.114 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: Rocky orbit: 106840 km incline: 14° ecc: 0.02 radius: 593.5 km mass: 0.00032277581428117 earth tilt: 40° |
Moon 1: | core: Icy orbit: 267100 km incline: 3° ecc: 0.05 radius: 1867.5 km mass: 0.015083839618879 earth tilt: 25° |
Moon 2: | core: Icy orbit: 106840 km incline: 2° ecc: 0.05 radius: 443.5 km mass: 3.3671285464873E-5 earth tilt: 16° |
Moon 3: | core: Icy orbit: 480780 km incline: 11° ecc: 0.02 radius: 1710 km mass: 0.0038600875154193 earth tilt: 42° |