octaveCount
The number of octaves of the underlying noise function to use for generating noise.
Declaration
var octaveCount: Int { get set }Discussion
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.
This property determines the number of octaves of the noise function that the noise source combines to produce noise. A smaller number results in smoother, simpler output; larger numbers result in rougher, more complex output. The default value is 6.