레퍼런스 noiseSeed()

noiseSeed()

Sets the seed value for the noise() function.

By default, noise() produces different results each time a sketch is run. Calling noiseSeed() with a constant argument, such as noiseSeed(99), makes noise() produce the same results each time a sketch is run.

예제

구문

noiseSeed(seed)

매개변수

seed
Number:

seed value.

This page is generated from the comments in src/math/noise.js . Please feel free to edit it and submit a pull request!

관련 레퍼런스