Module modifiers

Source
Expand description

Noise modifiers.

Modules§

open_simplex_2
OpenSimplex2 noise modifiers.

Structs§

Abs
Computes the absolute value of the output value.
Add
Adds the output values.
AddSeed
Adds value to the seed.
Ceil
Computes the smallest integer greater than or equal to self.
Clamp
Returns max if value is greater than max and min if value is less than min. Otherwise this will return value.
Cos
Computes the cosine of the output value (in radians).
Div
Divides one output value by the other.
Fbm
Fractal Brownian motion (fBm) noise.
Floor
Computes the largest integer less than or equal to the output value.
Frequency
Modifies a noise with a frequency multiplier.
Lerp
Linearly interpolates between a and b.
Map
Maps the output value.
Max
Computes the maximum of the two output values, ignoring NaN.
Min
Computes the minimum of the two output values, ignoring NaN.
Mul
Multiplies the output values.
MulSeed
Multiplies the seed by value.
Neg
Computes the absolute value of the output value.
Pow
Raises the output value to a power.
Rem
Calculates the remainder from dividing one output value by the other.
Ridged
Modifies a noise to create a peak at 0.
Round
Computes the nearest integer to the output value. If a value is half-way between two integers, round away from 0.0.
Seeded
Wraps a noise with a seed.
Sin
Computes the sine of the output value (in radians).
Sqrt
Returns the square root of a number.
Sub
Subtracts one output value from the other.
Tan
Computes the tangent of the output value (in radians).
Tileable
Creates a tileable 2D noise from a 4D noise.
TranslateX
Translates the point before it is being sampled by the base noise.
TranslateXy
Translates the point before it is being sampled by the base noise.
TranslateXyz
Translates the point before it is being sampled by the base noise.
TranslateXyzw
Translates the point before it is being sampled by the base noise.
TriangleWave
Applies a triangle wave to the output of a noise function.
Weighted
Modifies a fractal noise to make successive octaves have less impact the lower the output value of the previous one was.

Functions§

fractal_bounding
Calculates the fractal_bounding property for Fbm.