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 | G1V : Yellow Dwarf (M-S) | 1.0352 sol | 2.051 sol | |||
0.287 au | Rock | 0.01246 earth | 1,665 km | 0.03 | 7° | 4 |
0.976 au | Rock | 0.66433 earth | 5,992 km | 0.17 | 10° | 0 |
1.855 au | Desert | 0.29016 earth | 3,867 km | 0.14 | 1° | 4 |
5.009 au | Ice Ball | 0.72559 earth | 9,796 km | 0.02 | 5° | 0 |
16.529 au | Ice Ball | 1.80913 earth | 10,543 km | 0.11 | 7° | 5 |
31.405 au | Ice Ball | 0.71975 earth | 7,198 km | 0.02 | 1° | 1 |
37.686 au | Failed Core | 2.40663 earth | 8,543 km | 0.03 | 10° | 5 |
Full System Details
Star 1: G1 V Yellow Dwarf (M-S)
Mass | 1.0352 sol |
Diameter | 2.051 sol |
Temp | 5,907°K (Lux: 1.1484 sol) |
Age | 5,745.554 Myears (MAX: 9,014.200 Myears) |
Orbits | min: 0.107 AU inner max: 0.879 AU life max: 1.286 AU max: 41.408 AU |
Planet 1 - Inner Zone - Rock - Rocky | |
Orbit | dist: 0.287 AU period: 6.27 earth days Ecc: 0.03 Inc: 7° |
Body | rad: 1664.5 km mass: 0.012 earth grav: 0.183 earth rot: 150.475 hours tilt: 31° |
Temperatures | avg: 1,868.996°C day: 1,899.540°C night: 1,775.546°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: 1 Precious Gems: 1 |
Moons | |
Moon 0: | core: Rocky orbit: 299610 km incline: 11° ecc: 0.02 radius: 983.25 km mass: 0.002201516475005 earth tilt: 34° |
Moon 1: | core: Rocky orbit: 166450 km incline: 7° ecc: 0.0 radius: 500 km mass: 0.00053073963615751 earth tilt: 24° |
Moon 2: | core: Rocky orbit: 133160 km incline: 2° ecc: 0.04 radius: 500 km mass: 0.00062723775182251 earth tilt: 27° |
Moon 3: | core: Rocky orbit: 33290 km incline: 7° ecc: 0.18 radius: 500 km mass: 0.00043424152049251 earth tilt: 43° |
Planet 2 - Life Zone - Rock - Rocky | |
Orbit | dist: 0.976 AU period: 287.01 earth days Ecc: 0.17 Inc: 10° |
Body | rad: 5992 km mass: 0.664 earth grav: 0.752 earth rot: 4,886.542 hours tilt: 2° |
Temperatures | avg: 1,025.433°C day: 1,041.998°C night: 974.161°C |
Water Type: | Rare Ice - 1% |
Atmosphere | type: Vacuum pres: 0.000 atm comp: None oxyg: 0 |
Mineral Resources | Metal Ore: 56.936 Radioactive Ore: 12.936 Precious Metals: 1 Raw Crystals: 26.9872 Precious Gems: 1 |
Characteristics | No Axial Tilt Tidal Locked |
Planet 3 - Outer Zone - Desert - Rocky | |
Orbit | dist: 1.855 AU period: 496.77 earth days Ecc: 0.14 Inc: 1° |
Body | rad: 3867 km mass: 0.290 earth grav: 0.789 earth rot: 8,994.222 hours tilt: 44° |
Temperatures | avg: 642.310°C day: 648.319°C night: 545.963°C |
Water Type: | Ice - 7.75% |
Atmosphere | type: Thin pres: 0.430 atm comp: Carbon Dioxide oxyg: 0 |
Mineral Resources | Metal Ore: 5.271 Radioactive Ore: 1 Precious Metals: 1 Raw Crystals: 1 Precious Gems: 1 |
Characteristics | Tidal Locked |
Moons | |
Moon 0: | core: Icy orbit: 696060 km incline: 6° ecc: 0.0 radius: 192.5 km mass: 1.1013643559723E-5 earth tilt: 13° |
Moon 1: | core: Rocky orbit: 69606 km incline: 9° ecc: 0.19 radius: 2334 km mass: 0.039261904860106 earth tilt: 49° |
Moon 2: | core: Icy orbit: 232020 km incline: 3° ecc: 0.04 radius: 500 km mass: 0.0001447471734975 earth tilt: 24° |
Moon 3: | core: Icy orbit: 69606 km incline: 10° ecc: 0.0 radius: 631 km mass: 0.00019395317689557 earth tilt: 20° |
Planet 4 - Outer Zone - Ice Ball - Icy | |
Orbit | dist: 5.009 AU period: 3,485.19 earth days Ecc: 0.02 Inc: 5° |
Body | rad: 9795.5 km mass: 0.726 earth grav: 0.308 earth rot: 83,644.546 hours tilt: 27° |
Temperatures | avg: 393.210°C day: 400.523°C night: 373.549°C |
Water Type: | Ice - 54% |
Atmosphere | type: Vacuum pres: 0.000 atm comp: None oxyg: 0 |
Mineral Resources | Metal Ore: 18.591 Radioactive Ore: 1 Precious Metals: 1 Raw Crystals: 1 Precious Gems: 1 |
Planet 5 - Outer Zone - Ice Ball - Icy | |
Orbit | dist: 16.529 AU period: 32,990.42 earth days Ecc: 0.11 Inc: 7° |
Body | rad: 10542.5 km mass: 1.809 earth grav: 0.662 earth rot: 2.494 hours tilt: 25° |
Temperatures | avg: 217.372°C day: 218.580°C night: 152.160°C |
Water Type: | Ice - 49% |
Atmosphere | type: Standard pres: 0.688 atm comp: Ammonia oxyg: 0 |
Mineral Resources | Metal Ore: 13.17 Radioactive Ore: 4.17 Precious Metals: 1 Raw Crystals: 1 Precious Gems: 1 |
Characteristics | Corrosive Atmosphere |
Moons | |
Moon 0: | core: Icy orbit: 1897650 km incline: 0° ecc: 0.03 radius: 500 km mass: 0.000289494346995 earth tilt: 14° |
Moon 1: | core: Rocky orbit: 421700 km incline: 8° ecc: 0.05 radius: 866.5 km mass: 0.0015067311806173 earth tilt: 34° |
Moon 2: | core: Icy orbit: 2108500 km incline: 7° ecc: 0.0 radius: 1735 km mass: 0.0020159384191801 earth tilt: 48° |
Moon 3: | core: Icy orbit: 84340 km incline: 6° ecc: 0.03 radius: 1126 km mass: 0.0033063227556933 earth tilt: 29° |
Moon 4: | core: Icy orbit: 1897650 km incline: 7° ecc: 0.05 radius: 500 km mass: 0.0001447471734975 earth tilt: 6° |
Planet 6 - Outer Zone - Ice Ball - Icy | |
Orbit | dist: 31.405 AU period: 54,497.37 earth days Ecc: 0.02 Inc: 1° |
Body | rad: 7198 km mass: 0.720 earth grav: 0.565 earth rot: 2.270 hours tilt: 23° |
Temperatures | avg: 140.419°C day: 141.879°C night: 119.356°C |
Water Type: | Ice - 46% |
Atmosphere | type: Thin pres: 0.257 atm comp: Carbon Dioxide oxyg: 0 |
Mineral Resources | Metal Ore: 28.99 Radioactive Ore: 1 Precious Metals: 1 Raw Crystals: 1 Precious Gems: 1 |
Moons | |
Moon 0: | core: Icy orbit: 575840 km incline: 21° ecc: 0.04 radius: 1785.5 km mass: 0.0087885732973683 earth tilt: 29° |
Planet 7 - Outer Zone - Failed Core - Rocky | |
Orbit | dist: 37.686 AU period: 130,996.67 earth days Ecc: 0.03 Inc: 10° |
Body | rad: 8543 km mass: 2.407 earth grav: 1.341 earth rot: 3,143,920.133 hours tilt: 36° |
Temperatures | avg: 134.621°C day: 135.047°C night: 67.310°C |
Water Type: | Ice Sheets - 41% |
Atmosphere | type: Dense pres: 1.542 atm comp: Methane oxyg: 0 |
Mineral Resources | Metal Ore: 59.43 Radioactive Ore: 35.43 Precious Metals: 13.686 Raw Crystals: 34.686 Precious Gems: 14.486 |
Characteristics | High Radiation Levels |
Moons | |
Moon 0: | core: Icy orbit: 1708600 km incline: 3° ecc: 0.15 radius: 3149.5 km mass: 0.072352728362317 earth tilt: 52° |
Moon 1: | core: Rocky orbit: 68344 km incline: 3° ecc: 0.11 radius: 1289 km mass: 0.0049600816614519 earth tilt: 18° |
Moon 2: | core: Icy orbit: 153774 km incline: 5° ecc: 0.01 radius: 500 km mass: 0.0002412452891625 earth tilt: 32° |
Moon 3: | core: Rocky orbit: 854300 km incline: 7° ecc: 0.02 radius: 937.5 km mass: 0.0015902399432099 earth tilt: 38° |
Moon 4: | core: Icy orbit: 170860 km incline: 1° ecc: 0.04 radius: 787.5 km mass: 0.00018850831506005 earth tilt: 37° |