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 | K1V : Orange Dwarf (M-S) | 0.8094 sol | 1.717 sol | |||
| 0.326 au | Desert | 0.12370 earth | 3,077 km | 0.03 | 1° | 2 |
| 0.586 au | Glacier | 2.21014 earth | 7,609 km | 0.06 | 6° | 5 |
| 1.934 au | Ice Ball | 0.01342 earth | 3,264 km | 0.02 | 2° | 3 |
| 6.767 au | Ice Ball | 1.53770 earth | 10,992 km | 0.1 | 6° | 4 |
| 16.242 au | Ice Ball | 0.39718 earth | 5,904 km | 0.03 | 19° | 4 |
Full System Details
Star 1: K1 V Orange Dwarf (M-S)
| Mass | 0.8094 sol |
| Diameter | 1.717 sol |
| Temp | 5,047°K (Lux: 0.4292 sol) |
| Age | 11,899.300 Myears (MAX: 18,858.641 Myears) |
| Orbits | min: 0.066 AU inner max: 0.537 AU life max: 0.786 AU max: 32.376 AU |
| Planet 1 - Inner Zone - Desert - Rocky | |
| Orbit | dist: 0.326 AU period: 23.84 earth days Ecc: 0.03 Inc: 1° |
| Body | rad: 3077 km mass: 0.124 earth grav: 0.531 earth rot: 572.181 hours tilt: 32° |
| Temperatures | avg: 1,218.723°C day: 1,229.938°C night: 1,035.914°C |
| Water Type: | Ice - 7.75% |
| Atmosphere | type: Thin pres: 0.258 atm comp: Carbon Dioxide oxyg: 0 |
| Mineral Resources | Metal Ore: 22.847 Radioactive Ore: 1 Precious Metals: 1 Raw Crystals: 1 Precious Gems: 1 |
| Moons | |
| Moon 0: | core: Rocky orbit: 153850 km incline: 10° ecc: 0.14 radius: 2146 km mass: 0.045777199786842 earth tilt: 35° |
| Moon 1: | core: Rocky orbit: 30770 km incline: 3° ecc: 0.06 radius: 500 km mass: 0.00043424152049251 earth tilt: 38° |
| Planet 2 - Life Zone - Glacier - Rocky | |
| Orbit | dist: 0.586 AU period: 243.37 earth days Ecc: 0.06 Inc: 6° |
| Body | rad: 7608.5 km mass: 2.210 earth grav: 1.553 earth rot: 5,840.832 hours tilt: 40° |
| Temperatures | avg: -15.000°C day: -12.325°C night: -7.500°C |
| Water Type: | Ice Sheets - 70% |
| Atmosphere | type: Dense pres: 1.902 atm comp: Hydrogen oxyg: 0.02070045568959 |
| Mineral Resources | Metal Ore: 76.1821 Radioactive Ore: 41.9821 Precious Metals: 16.3821 Raw Crystals: 33.3821 Precious Gems: 16.1821 |
| Moons | |
| Moon 0: | core: Rocky orbit: 836935 km incline: 0° ecc: 0.03 radius: 523 km mass: 0.0003313104552168 earth tilt: 18° |
| Moon 1: | core: Rocky orbit: 456510 km incline: 19° ecc: 0.01 radius: 500 km mass: 0.00057898869399001 earth tilt: 29° |
| Moon 2: | core: Rocky orbit: 456510 km incline: 1° ecc: 0.0 radius: 500 km mass: 0.00057898869399001 earth tilt: 48° |
| Moon 3: | core: Rocky orbit: 1065190 km incline: 2° ecc: 0.03 radius: 2694 km mass: 0.030187808734458 earth tilt: 39° |
| Moon 4: | core: Rocky orbit: 380425 km incline: 14° ecc: 0.04 radius: 949 km mass: 0.00329896312773 earth tilt: 53° |
| Planet 3 - Outer Zone - Ice Ball - Icy | |
| Orbit | dist: 1.934 AU period: 113.69 earth days Ecc: 0.02 Inc: 2° |
| Body | rad: 3264 km mass: 0.013 earth grav: 0.051 earth rot: 2,728.667 hours tilt: 37° |
| Temperatures | avg: 502.708°C day: 511.911°C night: 477.572°C |
| Water Type: | Ice - 27% |
| 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: 65280 km incline: 1° ecc: 0.01 radius: 2639 km mass: 0.042564569498068 earth tilt: 27° |
| Moon 1: | core: Icy orbit: 130560 km incline: 8° ecc: 0.02 radius: 1634 km mass: 0.0033679448898595 earth tilt: 25° |
| Moon 2: | core: Icy orbit: 261120 km incline: 1° ecc: 0.0 radius: 808 km mass: 0.00040723294235757 earth tilt: 32° |
| Planet 4 - Outer Zone - Ice Ball - Icy | |
| Orbit | dist: 6.767 AU period: 7,968.24 earth days Ecc: 0.1 Inc: 6° |
| Body | rad: 10991.5 km mass: 1.538 earth grav: 0.518 earth rot: 191,237.697 hours tilt: 11° |
| Temperatures | avg: 233.500°C day: 235.959°C night: 198.475°C |
| Water Type: | Ice - 29% |
| Atmosphere | type: Thin pres: 0.254 atm comp: Carbon Dioxide oxyg: 0 |
| Mineral Resources | Metal Ore: 1 Radioactive Ore: 8.9745 Precious Metals: 1 Raw Crystals: 1 Precious Gems: 1 |
| Moons | |
| Moon 0: | core: Icy orbit: 175864 km incline: 3° ecc: 0.02 radius: 3489 km mass: 0.049181637819556 earth tilt: 40° |
| Moon 1: | core: Icy orbit: 659490 km incline: 10° ecc: 0.0 radius: 500 km mass: 9.6498115665002E-5 earth tilt: 34° |
| Moon 2: | core: Icy orbit: 1209065 km incline: 1° ecc: 0.03 radius: 802 km mass: 0.00039822812110824 earth tilt: 31° |
| Moon 3: | core: Icy orbit: 2418130 km incline: 13° ecc: 0.03 radius: 203 km mass: 1.9373950613595E-5 earth tilt: 27° |
| Planet 5 - Outer Zone - Ice Ball - Icy | |
| Orbit | dist: 16.242 AU period: 15,056.97 earth days Ecc: 0.03 Inc: 19° |
| Body | rad: 5904 km mass: 0.397 earth grav: 0.463 earth rot: 3.830 hours tilt: 31° |
| Temperatures | avg: 170.050°C day: 173.225°C night: 161.547°C |
| Water Type: | Ice - 24% |
| 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: 59040 km incline: 2° ecc: 0.04 radius: 97.5 km mass: 2.1465643961746E-6 earth tilt: 85° |
| Moon 1: | core: Icy orbit: 70848 km incline: 6° ecc: 0.05 radius: 1716.5 km mass: 0.0019521367956054 earth tilt: 17° |
| Moon 2: | core: Icy orbit: 944640 km incline: 7° ecc: 0.02 radius: 2175.5 km mass: 0.02384554964594 earth tilt: 27° |
| Moon 3: | core: Icy orbit: 590400 km incline: 22° ecc: 0.02 radius: 2644 km mass: 0.028537975973421 earth tilt: 25° |