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 | K5V : Orange Dwarf (M-S) | 0.6611 sol | 1.483 sol | |||
0.564 au | Ice Ball | 0.00267 earth | 1,115 km | 0.05 | 4° | 4 |
1.804 au | Ice Ball | 0.03625 earth | 2,864 km | 0.01 | 9° | 3 |
2.525 au | Gas Giant | 8,938.56095 earth | 179,560 km | 0.01 | 3° | 12 |
7.324 au | Ice Ball | 1.07055 earth | 11,152 km | 0.02 | 10° | 5 |
25.633 au | Ice Ball | 0.11057 earth | 6,592 km | 0.06 | 14° | 4 |
Full System Details
Star 1: K5 V Orange Dwarf (M-S)
Mass | 0.6611 sol |
Diameter | 1.483 sol |
Temp | 4,435°K (Lux: 0.1910 sol) |
Age | 9,967.241 Myears (MAX: 34,609.755 Myears) |
Orbits | min: 0.044 AU inner max: 0.358 AU life max: 0.524 AU max: 26.444 AU |
Planet 1 - Outer Zone - Ice Ball - Icy | |
Orbit | dist: 0.564 AU period: 7.98 earth days Ecc: 0.05 Inc: 4° |
Body | rad: 1114.5 km mass: 0.003 earth grav: 0.087 earth rot: 191.636 hours tilt: 36° |
Temperatures | avg: 753.492°C day: 767.414°C night: 715.817°C |
Water Type: | Ice - 38% |
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: 22290 km incline: 5° ecc: 0.03 radius: 500 km mass: 0.000289494346995 earth tilt: 13° |
Moon 1: | core: Icy orbit: 156030 km incline: 7° ecc: 0.03 radius: 598.5 km mass: 0.0002482518783354 earth tilt: 28° |
Moon 2: | core: Icy orbit: 11145 km incline: 11° ecc: 0.04 radius: 630.75 km mass: 9.6861368750791E-5 earth tilt: 25° |
Moon 3: | core: Rocky orbit: 44580 km incline: 12° ecc: 0.04 radius: 152 km mass: 1.7621908438018E-5 earth tilt: 49° |
Planet 2 - Outer Zone - Ice Ball - Icy | |
Orbit | dist: 1.804 AU period: 168.37 earth days Ecc: 0.01 Inc: 9° |
Body | rad: 2863.5 km mass: 0.036 earth grav: 0.180 earth rot: 4,040.848 hours tilt: 33° |
Temperatures | avg: 409.625°C day: 413.516°C night: 348.181°C |
Water Type: | Ice - 41% |
Atmosphere | type: Thin pres: 0.093 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: Icy orbit: 51543 km incline: 7° ecc: 0.01 radius: 1524.5 km mass: 0.0041028190660021 earth tilt: 18° |
Moon 1: | core: Icy orbit: 572700 km incline: 16° ecc: 0.02 radius: 674 km mass: 0.00070910372079591 earth tilt: 32° |
Moon 2: | core: Icy orbit: 343620 km incline: 7° ecc: 0.04 radius: 500 km mass: 4.8249057832501E-5 earth tilt: 27° |
Planet 3 - Outer Zone - Gas Giant - Icy | |
Orbit | dist: 2.525 AU period: 138,491.11 earth days Ecc: 0.01 Inc: 3° |
Body | rad: 179560 km mass: 8,938.561 earth grav: 11.274 earth rot: 3,323,786.591 hours tilt: 47° |
Temperatures | avg: -25.000°C day: -24.868°C night: -5.000°C |
Water Type: | Crystals - 1% |
Atmosphere | type: Massive pres: 1,138.649 atm comp: Methane/Ammonia/Hydrogen oxyg: 0 |
Mineral Resources | Metal Ore: 70.6 Radioactive Ore: 49.8 Precious Metals: 21.6 Raw Crystals: 38.8 Precious Gems: 21.6 |
Characteristics | Violent Storms |
Moons | |
Moon 0: | core: Rocky orbit: 2513840 km incline: 9° ecc: 0.17 radius: 1183 km mass: 0.0063904737919592 earth tilt: 30° |
Moon 1: | core: Icy orbit: 8978000 km incline: 9° ecc: 0.09 radius: 1239 km mass: 0.0044049805356053 earth tilt: 27° |
Moon 2: | core: Icy orbit: 25138400 km incline: 5° ecc: 0.06 radius: 527.5 km mass: 0.00022662416004676 earth tilt: 38° |
Moon 3: | core: Icy orbit: 25138400 km incline: 0° ecc: 0.04 radius: 2619.5 km mass: 0.0069379957994263 earth tilt: 48° |
Moon 4: | core: Icy orbit: 14364800 km incline: 9° ecc: 0.03 radius: 3439.5 km mass: 0.078529850361511 earth tilt: 6° |
Moon 5: | core: Rocky orbit: 35912000 km incline: 5° ecc: 0.02 radius: 500 km mass: 0.00033774340482751 earth tilt: 32° |
Moon 6: | core: Icy orbit: 3591200 km incline: 7° ecc: 0.03 radius: 166.5 km mass: 5.3449394842142E-6 earth tilt: 22° |
Moon 7: | core: Rocky orbit: 39503200 km incline: 8° ecc: 0.17 radius: 500 km mass: 0.00038599246266001 earth tilt: 30° |
Moon 8: | core: Icy orbit: 25138400 km incline: 5° ecc: 0.01 radius: 1358 km mass: 0.0038666790500333 earth tilt: 55° |
Moon 9: | core: Icy orbit: 12569200 km incline: 9° ecc: 0.04 radius: 172 km mass: 5.8923077239122E-6 earth tilt: 25° |
Moon 10: | core: Rocky orbit: 39503200 km incline: 12° ecc: 0.09 radius: 1189 km mass: 0.0038929214292699 earth tilt: 42° |
Moon 11: | core: Icy orbit: 3232080 km incline: 0° ecc: 0.02 radius: 999.5 km mass: 0.0019270688170606 earth tilt: 31° |
Planet 4 - Outer Zone - Ice Ball - Icy | |
Orbit | dist: 7.324 AU period: 7,484.96 earth days Ecc: 0.02 Inc: 10° |
Body | rad: 11151.5 km mass: 1.071 earth grav: 0.350 earth rot: 6.690 hours tilt: 37° |
Temperatures | avg: 211.527°C day: 215.390°C night: 200.951°C |
Water Type: | Ice - 32% |
Atmosphere | type: Vacuum pres: 0.000 atm comp: None oxyg: 0 |
Mineral Resources | Metal Ore: 32.303 Radioactive Ore: 1 Precious Metals: 1 Raw Crystals: 1 Precious Gems: 1 |
Moons | |
Moon 0: | core: Rocky orbit: 892120 km incline: 10° ecc: 0.0 radius: 3442.5 km mass: 0.20471234033497 earth tilt: 31° |
Moon 1: | core: Icy orbit: 2230300 km incline: 14° ecc: 0.03 radius: 3113 km mass: 0.069866250495382 earth tilt: 41° |
Moon 2: | core: Icy orbit: 111515 km incline: 3° ecc: 0.0 radius: 1288 km mass: 0.00082475776540785 earth tilt: 45° |
Moon 3: | core: Icy orbit: 111515 km incline: 4° ecc: 0.0 radius: 2115 km mass: 0.018259124239748 earth tilt: 39° |
Moon 4: | core: Icy orbit: 178424 km incline: 8° ecc: 0.2 radius: 500 km mass: 0.00019299623133 earth tilt: 50° |
Planet 5 - Outer Zone - Ice Ball - Icy | |
Orbit | dist: 25.633 AU period: 15,750.79 earth days Ecc: 0.06 Inc: 14° |
Body | rad: 6592 km mass: 0.111 earth grav: 0.103 earth rot: 8.774 hours tilt: 48° |
Temperatures | avg: 111.192°C day: 112.224°C night: 94.513°C |
Water Type: | Ice - 48% |
Atmosphere | type: Thin pres: 0.057 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: Icy orbit: 263680 km incline: 0° ecc: 0.04 radius: 500 km mass: 0.00019299623133 earth tilt: 42° |
Moon 1: | core: Icy orbit: 1450240 km incline: 9° ecc: 0.03 radius: 500 km mass: 9.6498115665002E-5 earth tilt: 21° |
Moon 2: | core: Rocky orbit: 65920 km incline: 2° ecc: 1.55 radius: 2643.5 km mass: 0.078434919217856 earth tilt: 34° |
Moon 3: | core: Icy orbit: 395520 km incline: 9° ecc: 0.05 radius: 393.5 km mass: 0.00014111210964851 earth tilt: 14° |