Instance Property


The rate at which successive octaves of the noise function increase in frequency.


var lacunarity: Double { get set }


Coherent noise is composed from several applications of a pseudorandom function. Each successive application, or octave, increases in frequency and decreases in amplitude relative to the previous octave. This combination of many octaves produces the fractal appearance that makes coherent noise resemble natural phenomena like clouds, stone, and water.

Lacunarity determines the change in frequency between octaves. Smaller values result in coarser noise with more visible structure; finer values result in finer, more uniform noise. The default value is 2.0.

See Also

Managing Noise Generation Parameters

var frequency: Double

A value that determines the size and spacing of features in generated noise.

var octaveCount: Int

The number of octaves of the underlying noise function to use for generating noise.

var seed: Int32

The value that determines the specific configuration of noise produced by the noise source.