Free planetarium

 
User avatar
hobosullivan
Observer
Observer
Topic Author
Posts: 18
Joined: 18 Mar 2017
Location: Charlotte, NC

Random Planet Finder?

26 Mar 2017 14:44

I know very little about the code used in SpaceEngine scripts, but I was wondering if there's a straightforward way to either select a random star (for example, by picking a random right ascension and declination, traveling a random distance, and picking the nearest star), or generate a random RS/RSC name to search for.
 
Pluton
Space Pilot
Space Pilot
Posts: 92
Joined: 22 Dec 2016
Location: Russia

Random Planet Finder?

27 Mar 2017 05:56

Open star browser, choose distance and get your 100500 random planets. End of topic.
1.png
 
User avatar
Salvo
Explorer
Explorer
Posts: 179
Joined: 03 Nov 2016
Location: Veneto, Italy
Contact:

Random Planet Finder?

27 Mar 2017 06:57

Actually there is no way to do so, even with scenario scripts that will be present in the next version :)

Anyway, it is a very requested feature.
The universe is not required to be in perfect harmony with human ambition.

CPU: Intel Core i7 4770 GPU: ASUS Radeon R9 270 RAM: 8 GBs
 
User avatar
hobosullivan
Observer
Observer
Topic Author
Posts: 18
Joined: 18 Mar 2017
Location: Charlotte, NC

Random Planet Finder?

27 Mar 2017 08:12

Salvo wrote:
Actually there is no way to do so, even with scenario scripts that will be present in the next version :)

Anyway, it is a very requested feature.

Oh well. Doesn't hurt to ask, right? :)
 
User avatar
MrZoolook
Space Tourist
Space Tourist
Posts: 29
Joined: 15 Feb 2017
Location: Southampton
Contact:

Random Planet Finder?

01 Apr 2017 06:28

Pluton wrote:
Open star browser, choose distance and get your 100500 random planets. End of topic.

Surely, the star browser just lists all systems up to a certain distance that match a set of criteria that you define. That seems to me to be the exact opposite of random.
M/B: F1A55-MLE // CPU: AMD A8-3870 (o/c) // RAM: 2x4gb // GPU: Radeon R7-240 2gb
 
User avatar
Xoran
Pioneer
Pioneer
Posts: 378
Joined: 17 Jan 2017
Location: Copenhagen, Denmark

Random Planet Finder?

01 Apr 2017 08:07

MrZoolook wrote:
Source of the post Surely, the star browser just lists all systems up to a certain distance that match a set of criteria that you define. That seems to me to be the exact opposite of random.

You don't have to specify any criteria in the star browser.
Space is too big to understand, so do not try to understand.
 
User avatar
MrZoolook
Space Tourist
Space Tourist
Posts: 29
Joined: 15 Feb 2017
Location: Southampton
Contact:

Random Planet Finder?

01 Apr 2017 08:33

I get that. But even if you don't specify criteria, you then hand over control of the randomness to the user. People generally don't do things (even pick numbers) randomly, and most don't even understand how randomness works. If the lottery numbers are the same 2 weeks running, they'd sooner cry foul/cheat/whatever, then realise that the chances of those numbers being drawn twice in 2 weeks is exactly the same as them being different.

Asked for a random number between 1 to 10 inclusive, people more often pick number 7 than any other number, and 10 hardly gets picked at all unless you ask young children. And they only pick it because it's the last number they hear before they need to pick a number. It's the brain working on a sub-concious level, so there's no way to counter-act it, unless you specifically decide not to pick 7, which in itself means it still isn't random.

Similarly, using the star browser to get a list of every star, then just telling the user to pick randomly, will likely not yield 'genuinely' random results. Your brain sub-conciously applies rules. It's human nature to find order in things, we simply don't do random.

Of course, a computerised random number routine isn't random either, but at least a computer (unless programmed specifically otherwise) will give a fairly uniform selection of results without bias towards some number or another.
M/B: F1A55-MLE // CPU: AMD A8-3870 (o/c) // RAM: 2x4gb // GPU: Radeon R7-240 2gb
 
User avatar
Xoran
Pioneer
Pioneer
Posts: 378
Joined: 17 Jan 2017
Location: Copenhagen, Denmark

Random Planet Finder?

01 Apr 2017 08:59

MrZoolook wrote:
Source of the post  that the chances of those numbers being drawn twice in 2 weeks is exactly the same as them being different.

This is not true if we do not have two numbers. If we have more than that, yes the number that was drawn before has a equal chance of appearing as any other number, but when we have more than two numbers the chance of a particular number appearing is always lower than 50%, therefore the number drawn before has a lower chance of appearing than 50%.

For example, if there are 1000 lottery numbers, the chance that a particular number gets drawn is equal to 0.1%.

If we have less than two, or in other words one lottery number, then it isn't lottery anymore.
Space is too big to understand, so do not try to understand.
 
User avatar
MrZoolook
Space Tourist
Space Tourist
Posts: 29
Joined: 15 Feb 2017
Location: Southampton
Contact:

Random Planet Finder?

01 Apr 2017 10:05

Sorry... are you trying to tell us that every week, when the lottery numbers are drawn anew, that previously drawn numbers have less of a chance of being drawn again in the new draw?

Xoran wrote:
Source of the post For example, if there are 1000 lottery numbers, the chance that a particular number gets drawn is equal to 0.1%.

Yes, and each time all 1000 numbers are eligible to be drawn (ie: in each draw because they get entered back into the machine), each number has the same 0.01% chance of being drawn. And consequently, each possible combination of 6 numbers has the exact same possibility of being drawn. Which is pretty much what I already said.
Unless the lottery is run differently where you are, of course!

Xoran wrote:
Source of the post This is not true if we do not have two numbers. If we have more than that, yes the number that was drawn before has a equal chance of appearing as any other number, but when we have more than two numbers the chance of a particular number appearing is always lower than 50%

You seem to have contradicted yourself. You say more than 2 numbers means equal chance of draw, then say more than 2 numbers has less than 50% chance of draw. Explain please!
M/B: F1A55-MLE // CPU: AMD A8-3870 (o/c) // RAM: 2x4gb // GPU: Radeon R7-240 2gb
 
User avatar
Xoran
Pioneer
Pioneer
Posts: 378
Joined: 17 Jan 2017
Location: Copenhagen, Denmark

Random Planet Finder?

01 Apr 2017 10:23

MrZoolook wrote:
Source of the post You seem to have contradicted yourself. You say more than 2 numbers means equal chance of draw, then say more than 2 numbers has only 50% chance of draw. Explain please!

I meant that a number/set of numbers/whatever , let's say x, has exactly the same chance of appearing as y. If there are 3 numbers/sets of numbers/whatever for example x has a 33.3333.. % chance of being drawn, same with y. If there are 100 numbers/sets of numbers/whatever, x has a 1% chance of being drawn, same with y.


MrZoolook wrote:
Source of the post Yes, and each time all 1000 numbers are eligible to be drawn (ie: in each draw because they get entered back into the machine), each number has the same 0.01% chance of being drawn. And consequently, each possible combination of 6 numbers has the exact same possibility of being drawn.

Yes my previous post implies that.
What i believe you meant that let's say combination 6,5,69,42 (or something)  gets drawn a second time is the same as something else will get drawn that second time. As in a combination 6,5,69,42 and then combination 6,5,69,42 is just as likely as 6,5,69,42 and then another combination(not a specific other combination, in which case it is fifty-fifty, looking away from all the other combinations. Just a combination that is not 6,5,69,42). Which is only true if there are two combinations.
There is a significant chance that i misunderstood you, in which case, sorry :)
Space is too big to understand, so do not try to understand.
 
User avatar
MrZoolook
Space Tourist
Space Tourist
Posts: 29
Joined: 15 Feb 2017
Location: Southampton
Contact:

Random Planet Finder?

01 Apr 2017 10:37

I also thought there might be a confusion between 'combination' and 'sequence'. Obviously, with lottery draws, what matters is the numbers that are drawn (the combination), and not the the order they are drawn in (the sequence).

Apology not needed. I love numbers and number theory, I love discussing them. My girlfriend hates maths, so I brought out a new motto to tease her - "Maths is the language of the Gods"
M/B: F1A55-MLE // CPU: AMD A8-3870 (o/c) // RAM: 2x4gb // GPU: Radeon R7-240 2gb
 
User avatar
Watsisname
Science Officer
Science Officer
Posts: 746
Joined: 06 Sep 2016
Location: Bellingham, WA

Random Planet Finder?

01 Apr 2017 14:08

I think the confusion was that it seemed like you were saying that for two drawings, the probability that the drawn numbers will be the same is equal to the probability that they will be different.  Which is generally not true.  The probability of drawing the same number twice (out of a selection of N numbers, with replacement) is 1:N.  The probability of drawing two different numbers is (N-1):N.  These probabilities are equal only if N=2, which is what Xoran was saying.
 
Sceolme5
Observer
Observer
Posts: 1
Joined: 01 Jun 2017

Random Planet Finder?

01 Jun 2017 19:27

I have to say there is no way to do so.

Who is online

Users browsing this forum: No registered users and 3 guests