StackedPerlinNoise3¶
-
class StackedPerlinNoise3¶
Implements a multi-layer
PerlinNoise, with one or more high-frequency noise functions added to a lower-frequency base noise function.Inheritance diagram
digraph inheritance5b964e4ffb { 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=""]; "StackedPerlinNoise3" [URL="acron.core.StackedPerlinNoise3.html#acron.core.StackedPerlinNoise3",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" -> "StackedPerlinNoise3" [arrowsize=0.75,style=""]; }- StackedPerlinNoise3.__call__()¶
- StackedPerlinNoise3.__init__()¶
Creates a
StackedPerlinNoise3object with no levels. You should calladd_level()to add each level by hand.Creates num_levels nested
PerlinNoise3objects. Each stacked Perlin object will have a scale of 1 scale_factor times the previous object (so that it is higher-frequency, if scale_factor > 1), and an amplitude of amp_scale times the previous object (so that it is less important, if amp_scale < 1).Creates an exact duplicate of the existing
StackedPerlinNoise3object, including the random seed.
- StackedPerlinNoise3.add_level()¶
Adds an arbitrary
PerlinNoise3object, and an associated amplitude, to the stack.
- StackedPerlinNoise3.assign()¶
- StackedPerlinNoise3.clear()¶
Removes all levels from the stack. You must call
add_level()again to restore them.
- StackedPerlinNoise3.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.