Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

noiseSeed setting

$
0
0

@Regi wrote:

Hi,

I was wondering if there’s a way to change noise seed similar to processing’s noiseSeed function.

“Sets the seed value for noise() . By default, noise() produces different results each time the program is run. Set the seed parameter to a constant to return the same pseudo-random numbers each time the software is run.”

What I’m looking for is to randomize the “noiseSeed(seed)” seed value so that I’d get a different numbers with the same ofNoise(value) value number.

e.g. ofNoise(2.0) always produces 0.5, whereas I’d like it to depend on the ‘seed nr’. Perhaps there’s a workaround that I’m missing?

Thanks

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4929

Trending Articles