I code the solar system generator and the things
-
- Vice Admiral
- Posts:2623
- Joined:Thu Dec 06, 2012 9:46 pm
- Affiliation:Nivanshae
- IGN:_Shadowcat_
- Location:Munching on important looking wires.
Doing Java class shit. Started working on a solar system generator.
Rough shit right now:
Eats a number then shits out text which gives you 1-2 suns, a various number of asteroid belts, dwarf planets, planetoids, and gas giants. So far I've been working in details for planets.
Tomorrow I'm gonna work on giving it an actual GUI with Jpanel and add more data points to generate.
Any suggestions to put in it?
Rough shit right now:
Eats a number then shits out text which gives you 1-2 suns, a various number of asteroid belts, dwarf planets, planetoids, and gas giants. So far I've been working in details for planets.
Tomorrow I'm gonna work on giving it an actual GUI with Jpanel and add more data points to generate.
Any suggestions to put in it?
In yo ceiling, stealin yo wires
Do not open. Ever. At all. Enter at your own risk to life and limb.
Trigger warning
Bot gore warning
Memetic biohazard
Error bait
Do not open. Ever. At all. Enter at your own risk to life and limb.
Trigger warning
Bot gore warning
Memetic biohazard
Error bait
Spoiler:
-
- Fleet Admiral
- Posts:3021
- Joined:Fri Dec 07, 2012 12:10 pm
- Affiliation:[redacted]
- IGN:Ivan2006
- Location:In a universe.
- Contact:
Re: I code the solar system generator and the things
small local nebulas, brown dwarves, different types of stars, potentially even some forms of dead stars (neutron stars, or even singularities that just don't have the planets in their event horizon, et cetera)
if you're going into the scifi direction, maybe derelicts? ARK-like things, Dyson spheres, ancient ship graveyards?
if you're going into the scifi direction, maybe derelicts? ARK-like things, Dyson spheres, ancient ship graveyards?
Quotes:
Spoiler:
-
- Moderator
- Posts:4205
- Joined:Thu Dec 06, 2012 11:49 am
- Affiliation:CNI
- IGN:FC_Rangefinder
- Location:Sol IIIa, School of Hard Knocks
Re: I code the solar system generator and the things
Not sure about the programming side, but maybe add some detail to what's generated. Planetary gravities, atmospheres, natural satellites, rings, etc.
-
- Vice Admiral
- Posts:2623
- Joined:Thu Dec 06, 2012 9:46 pm
- Affiliation:Nivanshae
- IGN:_Shadowcat_
- Location:Munching on important looking wires.
Re: I code the solar system generator and the things
Overall plan is to have it generate data about pretty much everything that would be needed for details.
Original plan was to make an extensive sun generator which would give information such as size, type, basic chemical breakdown.
The only problem is finding said information to generate, coding in randoms is easy shit, finding what to code in isnt.
Original plan was to make an extensive sun generator which would give information such as size, type, basic chemical breakdown.
The only problem is finding said information to generate, coding in randoms is easy shit, finding what to code in isnt.
In yo ceiling, stealin yo wires
Do not open. Ever. At all. Enter at your own risk to life and limb.
Trigger warning
Bot gore warning
Memetic biohazard
Error bait
Do not open. Ever. At all. Enter at your own risk to life and limb.
Trigger warning
Bot gore warning
Memetic biohazard
Error bait
Spoiler:
Re: I code the solar system generator and the things
It would be more interesting if you were to actually paint that generated solar system.
They're watching ...
"I am forbidden tag" -CvN
"I am forbidden tag" -CvN
-
- Fleet Admiral
- Posts:3217
- Joined:Wed Dec 05, 2012 9:54 pm
- Affiliation:Hexalan
- IGN:PCaptainRexK
- Location:Hexalan
Re: I code the solar system generator and the things
It'd just be a matter of generating all the information for each body to convert into the data needed for creating an image, or if you'd like, some sort of 'live' display where one can see the bodies move in real-time (or perhaps at a scaled time).Iv121 wrote:It would be more interesting if you were to actually paint that generated solar system.
But geez, the guy just made the thing, and besides, we'll all probably forget about it in a day or so anyways.
cats wrote:I literally cannot be wrong about this fictional universe
-
- Vice Admiral
- Posts:2623
- Joined:Thu Dec 06, 2012 9:46 pm
- Affiliation:Nivanshae
- IGN:_Shadowcat_
- Location:Munching on important looking wires.
Re: I code the solar system generator and the things
Iv121 wrote:It would be more interesting if you were to actually paint that generated solar system.
Hm, I could have it generate a side view diagram of the solar system, with scale sizes and distance from the sun.
In yo ceiling, stealin yo wires
Do not open. Ever. At all. Enter at your own risk to life and limb.
Trigger warning
Bot gore warning
Memetic biohazard
Error bait
Do not open. Ever. At all. Enter at your own risk to life and limb.
Trigger warning
Bot gore warning
Memetic biohazard
Error bait
Spoiler:
Re: I code the solar system generator and the things
Yup, for that you need to study the graphics methods though. Unlike generating random numbers and giving them names its a real test for your coding skills and will prob propel you forwards, its past "hello world" time for most of you here ...
Though STOP, on a second thought you mate are going back to "hello world" (well almost). Although your program is working the way you work with Random class is showing me that you do not understand java classes (or object-oriented classes in general). Read about the "new" keyword and object-oriented classes in general.
Though STOP, on a second thought you mate are going back to "hello world" (well almost). Although your program is working the way you work with Random class is showing me that you do not understand java classes (or object-oriented classes in general). Read about the "new" keyword and object-oriented classes in general.
They're watching ...
"I am forbidden tag" -CvN
"I am forbidden tag" -CvN
-
- Fleet Admiral
- Posts:3217
- Joined:Wed Dec 05, 2012 9:54 pm
- Affiliation:Hexalan
- IGN:PCaptainRexK
- Location:Hexalan
Re: I code the solar system generator and the things
Most of us here aren't even to "hello world"Iv121 wrote:its past "hello world" time for most of you here ...
cats wrote:I literally cannot be wrong about this fictional universe
-
- Rear Admiral
- Posts:1940
- Joined:Thu Dec 06, 2012 1:18 pm
- Affiliation:ZIF
Re: I code the solar system generator and the things
I can say "Hello world" with speaking and with writing, so I don't need to do it with programming.
BASH THE FASH CLASS WAR NOW
Re: I code the solar system generator and the things
open your editor of choice and write:
System.out.println ("Hello world");
Thats it. If you can't write something like that you probably cannot write in general.
System.out.println ("Hello world");
Thats it. If you can't write something like that you probably cannot write in general.
They're watching ...
"I am forbidden tag" -CvN
"I am forbidden tag" -CvN
-
- Fleet Admiral
- Posts:3217
- Joined:Wed Dec 05, 2012 9:54 pm
- Affiliation:Hexalan
- IGN:PCaptainRexK
- Location:Hexalan
Re: I code the solar system generator and the things
My what-itor?Iv121 wrote:your editor of choice
cats wrote:I literally cannot be wrong about this fictional universe
- Tau
- Admin
- Posts:750
- Joined:Mon Dec 10, 2012 9:58 am
- Affiliation:Futureville Mafia
- IGN:TehPwnzor7306
- Location:Ancapistan
Re: I code the solar system generator and the things
This is a pretty cool project, I like it.
Jesús Hernandez Christ, I don't even code and I know what that is. Learn to Unix, dude.Vinyl wrote:My what-itor?Iv121 wrote:your editor of choice
Vinyl wrote:"RP" and gaming and homosexuality is what's keeping [the forum] afloat.
Re: I code the solar system generator and the things
would have been if it would have been funny .
They're watching ...
"I am forbidden tag" -CvN
"I am forbidden tag" -CvN