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?
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
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?
Quotes:
Spoiler:
CMA wrote:IT'S MY HOT BODY AND I DO WHAT I WANT WITH IT.
Tiel wrote:hey now no need to be rough
Daynel wrote: you can talk gay and furry to me any time
CMA wrote:And I can't fuck myself, my ass is currently occupied
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.
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
Iv121 wrote:It would be more interesting if you were to actually paint that generated solar system.
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).
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
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.