Anyone noticed this?

For questions about using Classic.

Post » Thu Jan 26, 2012 10:13 pm

Anyone noticed the Random() expression creates a pattern of numbers that loop? I know it's hard to make algorithms that randomize, but atleast in MMF we never saw these patterns.


B
18
S
4
G
1
Posts: 413
Reputation: 2,512

Post » Thu Jan 26, 2012 10:27 pm

There is always a pattern with random number generators. Construct uses http://en.wikipedia.org/wiki/Mersenne_twister to generate random numbers so the pattern is quite long and shouldn't be noticeable.

Can you give an example of a noticeable pattern?
B
79
S
24
G
54
Posts: 4,746
Reputation: 40,755

Post » Thu Jan 26, 2012 10:31 pm

[QUOTE=R0J0hound] There is always a pattern with random number generators. Construct uses http://en.wikipedia.org/wiki/Mersenne_twister to generate random numbers so the pattern is quite long and shouldn't be noticeable.

Can you give an example of a noticeable pattern?[/QUOTE]

Hi, I used the canvas object and pasted objects using random a while ago and the pattern was the same flower shape just looping. I'll see if I can re-create it. I gave only noticed it on certain occations and I'm not sure what is causing it. Some times it seems to work fine.
I have noticed the same thing in MMF a few times.
B
18
S
4
G
1
Posts: 413
Reputation: 2,512


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 0 guests