PerlinNoise3

class PerlinNoise3

Bases: PerlinNoise

This class provides an implementation of Perlin noise for 3 variables. This code is loosely based on the reference implementation at http://mrl.nyu.edu/~perlin/noise/ .

Inheritance diagram

Inheritance diagram of PerlinNoise3

PerlinNoise3.__call__()
PerlinNoise3.__init__()

Randomizes the tables to make a unique noise function. Uses a default scale (noise frequency), table size, and seed.

Randomizes the tables to make a unique noise function.

If seed is nonzero, it is used to define the tables; if it is zero a random seed is generated.

Makes an exact copy of the existing PerlinNoise object, including its random seed.

PerlinNoise3.assign()
PerlinNoise3.noise()

Returns the noise function of the three inputs.

Returns the noise function of the three inputs.

Returns the noise function of the three inputs.

PerlinNoise3.set_scale()

Changes the scale (frequency) of the noise.

Changes the scale (frequency) of the noise.

Changes the scale (frequency) of the noise.

Changes the scale (frequency) of the noise.