Cubic noise is a pretty simple alternative to perlin and simplex noise. In essence it takes a low resolution white noise and scales it up using cubic interpolation. This approach means that while cubic noise is smooth, it is much more random than perlin and simplex noise.
noise_cubic( dim, frequency = 0.01, fractal = "fbm", octaves = 3, lacunarity = 2, gain = 0.5, pertubation = "none", pertubation_amplitude = 1 ) gen_cubic(x, y = NULL, z = NULL, frequency = 1, seed = NULL, ...)
The dimensions (height, width, (and depth)) of the noise to be generated. The length determines the dimensionality of the noise.
Determines the granularity of the features in the noise.
The fractal type to use. Either
The number of noise layers used to create the fractal noise.
The frequency multiplier between successive noise layers
when building fractal noise. Ignored if
The relative strength between successive noise layers when
building fractal noise. Ignored if
The pertubation to use. Either
The maximal pertubation distance from the
origin. Ignored if
|x, y, z||
Coordinates to get noise value from
The seed to use for the noise. If
noise_cubic() a matrix if
length(dim) == 2 or an array if
length(dim) == 3. For
gen_cubic() a numeric vector matching the length of