Skip to main content

Seed

Seed (Statement)​

Format​

seed start_value
seed ( start_value )

Description​

Initializes the random number generator rand to start a specific sequence of pseudo-random numbers.

The same statement also fixes the noise field, so a program that seeds gets both the same sequence of random numbers and the same noise landscape every time it runs. Without a seed statement both differ from run to run.

See Also​

Abs, Acos, Asin, Atan, Ceil, Cos, Degrees, Exp, Float, Floor, Int, IsNumeric, Log, Log10, Noise, Radians, Rand, Round, Seed, Sin, Sqr, Tan

History​

1.99.99.65New to Version
2.1.2also seeds the noise field