Share your repls and programming experiences

← Back to all posts
Generate a solar system
SqueezyS (35)

Solar system generator

Generates a randomized solar system

Comments
hotnewtop
tankerguy1917 (159)

@SqueezyS i think the coolest thing about it is that out there, there could possibly be a solar system with the exact same combination of things with similar distances from one another.

SqueezyS (35)

@tankerguy1917 If you really like astrophysics with highly accurate solar systems mixed with strategy, try Elite: Dangerous. They're coming out with a system where you can walk on certain planets

SqueezyS (35)

@tankerguy1917 https://www.elitedangerous.com/odyssey/

It's hard at first, but gets a little easier the more you play

RhinoRunner (644)

XD I love astrophysics and the fact you made somethin like this is noice

SqueezyS (35)

@RhinoRunner anything else you want me to add?

RhinoRunner (644)

@SqueezyS hmm... maybe, rather than a straight line of objects, you could make it something like this:

         [planet] 

  [asteroid belt]    [sun]              [planet]



                      [planet]

you know, more 2D than 1D

SqueezyS (35)

@RhinoRunner at my level rn that would be a little difficult, but I’ll try

RhinoRunner (644)

@SqueezyS also,

Every - is ¼ of the distance between the sun and earth

this is technically called 1/4 AU (astronomical unit)

SqueezyS (35)

@RhinoRunner I know, i did that for people who don't know what an AU is