We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpOther Libraries › random generator
Page Index Toggle Pages: 1
random generator (Read 393 times)
random generator
Jan 21st, 2009, 6:45pm
 
Hi everyone,

A pleasure to share this space.

I need some help recalling where can I find an algorithm or lib that generates a more "natural" random numbers. I saw some article that says something, but cannot find the link.

Thanks guys.
Re: random generator
Reply #1 - Jan 21st, 2009, 10:09pm
 
You could use (Perlin) noise?
http://processing.org/reference/noise_.html

I use it a lot for what you describe:
http://www.flickr.com/photos/warpcat/3129524639/in/set-72157605688360509/

2c
Re: random generator
Reply #2 - Jan 23rd, 2009, 11:23pm
 
I found what I'm looking for:

"noise() function is a more natural ordered, harmonic succession of numbers compared to the standard random()"

Greetings.

W.
Re: random generator
Reply #3 - Jan 23rd, 2009, 11:27pm
 
Thanks a lot warpcat, very usefull your links.

W.
Re: random generator
Reply #4 - Jan 23rd, 2009, 11:31pm
 
I must say that "useful" is a very short term to refer to your work. It's certainly awesome.

Thanks again.
Page Index Toggle Pages: 1