PerlinNoise3¶
-
class PerlinNoise3¶
Bases:
PerlinNoiseThis 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
digraph inheritance4ee9db0f52 { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "DTOOL_SUPER_BASE" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style=""]; "PerlinNoise" [URL="acron.core.PerlinNoise.html#acron.core.PerlinNoise",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "PerlinNoise" [arrowsize=0.75,style=""]; "PerlinNoise3" [URL="acron.core.PerlinNoise3.html#acron.core.PerlinNoise3",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "PerlinNoise" -> "PerlinNoise3" [arrowsize=0.75,style=""]; }- 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
PerlinNoiseobject, 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.