<!--
{
  "availability" : [
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.12.0 -",
    "tvOS: 10.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "GameplayKit",
  "identifier" : "/documentation/GameplayKit/GKCoherentNoiseSource/frequency",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "GameplayKit"
    ],
    "preciseIdentifier" : "c:objc(cs)GKCoherentNoiseSource(py)frequency"
  },
  "title" : "frequency"
}
-->

# frequency

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

```
var frequency: Double { get set }
```

## Discussion

The effect of this property varies for each coherent noise source class. Generally, increasing frequency increases the number of (and decreases the size of) visible features in any given unit area of a generated noise map. The default value is `1.0`.

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 controls the base frequency of the noise function; the [`octaveCount`](/documentation/GameplayKit/GKCoherentNoiseSource/octaveCount), [`lacunarity`](/documentation/GameplayKit/GKCoherentNoiseSource/lacunarity), and (for some subclasses) [`persistence`](/documentation/GameplayKit/GKPerlinNoiseSource/persistence) properties determine how the frequencies of successive octaves change.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)