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.7986 sol | 1.700 sol | |||
0.324 au | Hot House | 11.63681 earth | 14,963 km | 0.04 | 0° | 3 |
0.874 au | Ice Ball | 0.02943 earth | 4,241 km | 0.0 | 26° | 3 |
1.748 au | Ice Ball | 0.00608 earth | 2,507 km | 0.1 | 8° | 3 |
2.797 au | Ice Ball | 0.04525 earth | 4,894 km | 0.03 | 38° | 2 |
6.154 au | Ice Ball | 0.00178 earth | 1,665 km | 0.02 | 2° | 4 |
18.463 au | Ice Ball | 0.02549 earth | 2,803 km | 0.13 | 0° | 4 |
Full System Details
Star 1: K1 V Orange Dwarf (M-S)
Mass | 0.7986 sol |
Diameter | 1.700 sol |
Temp | 5,004°K (Lux: 0.4067 sol) |
Age | 9,691.588 Myears (MAX: 19,634.149 Myears) |
Orbits | min: 0.064 AU inner max: 0.523 AU life max: 0.765 AU max: 31.944 AU |
Planet 1 - Inner Zone - Hot House - Rocky | |
Orbit | dist: 0.324 AU period: 229.39 earth days Ecc: 0.04 Inc: 0° |
Body | rad: 14962.5 km mass: 11.637 earth grav: 2.114 earth rot: 5,505.394 hours tilt: 30° |
Temperatures | avg: 1,197.382°C day: 1,197.826°C night: 239.476°C |
Water Type: | None - % |
Atmosphere | type: Massive pres: 232.508 atm comp: Carbon Dioxide oxyg: 0 |
Mineral Resources | Metal Ore: 73.2 Radioactive Ore: 52 Precious Metals: 21 Raw Crystals: 40.6 Precious Gems: 20.8 |
Moons | |
Moon 0: | core: Rocky orbit: 239400 km incline: 10° ecc: 0.04 radius: 2107.5 km mass: 0.032518019229492 earth tilt: 24° |
Moon 1: | core: Rocky orbit: 1346625 km incline: 7° ecc: 0.06 radius: 500 km mass: 0.00048249057832501 earth tilt: 42° |
Moon 2: | core: Rocky orbit: 149625 km incline: 1° ecc: 0.01 radius: 1122 km mass: 0.0059972213738536 earth tilt: 41° |
Planet 2 - Outer Zone - Ice Ball - Icy | |
Orbit | dist: 0.874 AU period: 51.18 earth days Ecc: 0.0 Inc: 26° |
Body | rad: 4240.5 km mass: 0.029 earth grav: 0.067 earth rot: 1,228.378 hours tilt: 30° |
Temperatures | avg: 760.799°C day: 774.304°C night: 722.759°C |
Water Type: | Ice - 24% |
Atmosphere | type: Vacuum pres: 0.000 atm comp: None oxyg: 0 |
Mineral Resources | Metal Ore: 13.2405 Radioactive Ore: 1 Precious Metals: 1 Raw Crystals: 1 Precious Gems: 1 |
Moons | |
Moon 0: | core: Icy orbit: 593670 km incline: 9° ecc: 0.03 radius: 1119 km mass: 0.0032450420897592 earth tilt: 24° |
Moon 1: | core: Icy orbit: 254430 km incline: 0° ecc: 0.03 radius: 2674.5 km mass: 0.036921270338316 earth tilt: 22° |
Moon 2: | core: Icy orbit: 593670 km incline: 1° ecc: 0.11 radius: 2814.5 km mass: 0.0086056282878126 earth tilt: 44° |
Planet 3 - Outer Zone - Ice Ball - Icy | |
Orbit | dist: 1.748 AU period: 65.79 earth days Ecc: 0.1 Inc: 8° |
Body | rad: 2506.5 km mass: 0.006 earth grav: 0.039 earth rot: 1,578.894 hours tilt: 35° |
Temperatures | avg: 539.330°C day: 548.880°C night: 512.364°C |
Water Type: | Ice - 21% |
Atmosphere | type: Vacuum pres: 0.000 atm comp: None oxyg: 0 |
Mineral Resources | Metal Ore: 5.5065 Radioactive Ore: 1 Precious Metals: 1 Raw Crystals: 1 Precious Gems: 1 |
Moons | |
Moon 0: | core: Rocky orbit: 35091 km incline: 5° ecc: 0.06 radius: 500 km mass: 0.00043424152049251 earth tilt: 24° |
Moon 1: | core: Icy orbit: 350910 km incline: 2° ecc: 0.01 radius: 2285 km mass: 0.013815248214065 earth tilt: 19° |
Moon 2: | core: Icy orbit: 25065 km incline: 0° ecc: 0.09 radius: 500 km mass: 9.6498115665002E-5 earth tilt: 36° |
Planet 4 - Outer Zone - Ice Ball - Icy | |
Orbit | dist: 2.797 AU period: 363.26 earth days Ecc: 0.03 Inc: 38° |
Body | rad: 4894 km mass: 0.045 earth grav: 0.077 earth rot: 8,718.213 hours tilt: 33° |
Temperatures | avg: 404.816°C day: 412.366°C night: 384.576°C |
Water Type: | Ice - 35% |
Atmosphere | type: Vacuum pres: 0.000 atm comp: None oxyg: 0 |
Mineral Resources | Metal Ore: 2.894 Radioactive Ore: 1 Precious Metals: 1 Raw Crystals: 1 Precious Gems: 1 |
Moons | |
Moon 0: | core: Icy orbit: 78304 km incline: 4° ecc: 0.01 radius: 3398 km mass: 0.015144291060583 earth tilt: 9° |
Moon 1: | core: Icy orbit: 391520 km incline: 10° ecc: 0.01 radius: 3324.5 km mass: 0.070913323573128 earth tilt: 11° |
Planet 5 - Outer Zone - Ice Ball - Icy | |
Orbit | dist: 6.154 AU period: 235.11 earth days Ecc: 0.02 Inc: 2° |
Body | rad: 1664.5 km mass: 0.002 earth grav: 0.026 earth rot: 5,642.755 hours tilt: 7° |
Temperatures | avg: 288.191°C day: 293.281°C night: 273.781°C |
Water Type: | Ice - 13% |
Atmosphere | type: Vacuum pres: 0.000 atm comp: None oxyg: 0 |
Mineral Resources | Metal Ore: 11.6645 Radioactive Ore: 1 Precious Metals: 1 Raw Crystals: 1 Precious Gems: 1 |
Moons | |
Moon 0: | core: Icy orbit: 166450 km incline: 4° ecc: 0.53 radius: 1291.5 km mass: 0.0016629992425285 earth tilt: 25° |
Moon 1: | core: Icy orbit: 233030 km incline: 9° ecc: 0.03 radius: 974.25 km mass: 0.0014277430636812 earth tilt: 23° |
Moon 2: | core: Icy orbit: 299610 km incline: 10° ecc: 0.15 radius: 1254.5 km mass: 0.00076206290361826 earth tilt: 33° |
Moon 3: | core: Icy orbit: 166450 km incline: 4° ecc: 0.03 radius: 1064.5 km mass: 0.0027936183320086 earth tilt: 6° |
Planet 6 - Outer Zone - Ice Ball - Icy | |
Orbit | dist: 18.463 AU period: 4,622.91 earth days Ecc: 0.13 Inc: 0° |
Body | rad: 2802.5 km mass: 0.025 earth grav: 0.132 earth rot: 7.027 hours tilt: 35° |
Temperatures | avg: 167.646°C day: 170.585°C night: 159.264°C |
Water Type: | Ice - 39% |
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: 560500 km incline: 7° ecc: 0.02 radius: 500 km mass: 0.00057898869399001 earth tilt: 35° |
Moon 1: | core: Icy orbit: 224200 km incline: 4° ecc: 0.04 radius: 1696 km mass: 0.01129815733635 earth tilt: 30° |
Moon 2: | core: Rocky orbit: 392350 km incline: 9° ecc: 0.18 radius: 817.5 km mass: 0.0025305991291885 earth tilt: 41° |
Moon 3: | core: Icy orbit: 448400 km incline: 7° ecc: 0.05 radius: 500 km mass: 0.0002412452891625 earth tilt: 19° |