love.math.noise
Generates a Simplex or Perlin noise value in 1-4 dimensions. The return value will always be the same, given the same arguments.

Simplex noise is closely related to Perlin noise. It is widely used for procedural content generation.

There are many webpages which discuss Perlin and Simplex noise in detail.
value = love.math.noise( x )
x number The number used to generate the noise value.
value number The noise value in the range of 1.
value = love.math.noise( x, y )
x number The first value of the 2-dimensional vector used to generate the noise value.
y number The second value of the 2-dimensional vector used to generate the noise value.
value number The noise value in the range of 1.
value = love.math.noise( x, y, z )
x number The first value of the 3-dimensional vector used to generate the noise value.
y number The second value of the 3-dimensional vector used to generate the noise value.
z number The third value of the 3-dimensional vector used to generate the noise value.
value number The noise value in the range of 1.
value = love.math.noise( x, y, z, w )
x number The first value of the 4-dimensional vector used to generate the noise value.
y number The second value of the 4-dimensional vector used to generate the noise value.
z number The third value of the 4-dimensional vector used to generate the noise value.
w number The fourth value of the 4-dimensional vector used to generate the noise value.
value number The noise value in the range of 1.