<!--
{
  "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/GKNoiseMap/init(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "GameplayKit"
    ],
    "preciseIdentifier" : "c:objc(cs)GKNoiseMap(im)initWithNoise:"
  },
  "title" : "init(_:)"
}
-->

# init(_:)

Initializes a noise map by sampling from the specified noise object.

```
convenience init(_ noise: GKNoise)
```

## Parameters

`noise`

The noise object from which to create a noise map.

## Return Value

A new noise map object.

## Discussion

This initializer is equivalent to calling the [`init(_:size:origin:sampleCount:seamless:)`](/documentation/GameplayKit/GKNoiseMap/init(_:size:origin:sampleCount:seamless:)) initializer with a size of `1.0 x 1.0`, an origin of `[0, 0]`, a sample grid size of `100 x 100`, and a `seamless` parameter of <doc://com.apple.documentation/documentation/Swift/false>.

[`GKNoiseSource`](/documentation/GameplayKit/GKNoiseSource) and [`GKNoise`](/documentation/GameplayKit/GKNoise) objects are lightweight descriptions of noise generation and processing parameters. When you create a noise map from a noise object, GameplayKit performs the computation described by those objects to create an grid of noise sample values. You can then read those values (or interpolated values at non-integral positions on that grid) with the methods listed in Accessing Noise Values in [`GKNoiseMap`](/documentation/GameplayKit/GKNoiseMap), or use the <doc://com.apple.documentation/documentation/SpriteKit/SKTexture> or `SKTileMap` classes to generate texture images or tile maps from the generated noise.

For more information, see [GameplayKit Programming Guide](https://developer.apple.com/library/archive/documentation/General/Conceptual/GameplayKit_Guide/index.html#//apple_ref/doc/uid/TP40015172).

---

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)