StackedPerlinNoise3

from acron.core import StackedPerlinNoise3
class StackedPerlinNoise3

Bases:

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=""]; }
__call__()
__init__()

Creates a StackedPerlinNoise3 object with no levels. You should call add_level() to add each level by hand.

Creates num_levels nested PerlinNoise3 objects. 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 StackedPerlinNoise3 object, including the random seed.

add_level()

Adds an arbitrary PerlinNoise3 object, and an associated amplitude, to the stack.

assign()
clear()

Removes all levels from the stack. You must call add_level() again to restore them.

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.