User Tools

Site Tools


get_noise_2d

Get Noise 2D


(WIP)

Returns the 2D noise value (a numeric value between -1.0 and 1.0) for the given X/Y position. The randomly generated noise from which the value is retrieved is based on the global.noise_seed variable. This variable can be changed in order to generate a different noise pattern (the seed value must be an integer).

Signature:

get_noise_2d(x, y)
ArgumentDescriptionTypeRequired
x NumberYes
y NumberYes
Return ValueDescriptionType
Noise ValueReturns a value between -1.0 and 1.0.Number

Example:

get_noise_2d();

Results:

Use the Get Noise 2D function to…


Editor Node:

get_noise_2d.txt · Last modified: 2024/02/06 16:14 by justin