---
title: lacunarity
framework: gameplaykit
role: symbol
role_heading: Instance Property
path: gameplaykit/gkcoherentnoisesource/lacunarity
---

# lacunarity

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

## Declaration

```swift
var lacunarity: Double { get set }
```

## Discussion

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. 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

- [frequency](gameplaykit/gkcoherentnoisesource/frequency.md)
- [octaveCount](gameplaykit/gkcoherentnoisesource/octavecount.md)
- [seed](gameplaykit/gkcoherentnoisesource/seed.md)
