Class

GKCoherentNoiseSource

The abstract superclass for procedural noise generators that create coherent noise.

Declaration

@interface GKCoherentNoiseSource : GKNoiseSource

Overview

In general, noise is randomness across a (one-, two-, three-, or many-dimensional) domain—for example, you can create noise by filling an image with values from a random number generator. Unlike such truly random noise, coherent noise is consistent and smooth: you can always generate the same output from a specific seed value, and small variations across the domain create only small variations in noise values.

You don’t instantiate or work directly with this class. Instead, the concrete subclasses of GKCoherentNoiseSource each provide a different style of coherent noise.

Topics

Managing Noise Generation Parameters

frequency

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

octaveCount

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

lacunarity

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

seed

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

Relationships

Inherits From

See Also

Procedural Noise

GKNoiseSource

The abstract superclass for procedural noise generators.

GKNoise

A representation of procedural noise, generated by a noise source, that you can use to process, transform, or combine noise.

GKNoiseMap

A sample of procedural noise data from which you can read noise values directly or create noise textures.

GKBillowNoiseSource

A procedural noise generator whose output is a type of fractal coherent noise with smooth features.

GKPerlinNoiseSource

A procedural noise generator whose output is a type of fractal coherent noise resembling natural phenomena such as clouds and terrain.

GKRidgedNoiseSource

A procedural noise generator whose output is a type of multifractal coherent noise with sharply defined features.

GKVoronoiNoiseSource

A procedural noise generator whose output (also called Worley noise or cellular noise) divides space into discrete cells surrounding random seed points.

GKCylindersNoiseSource

A procedural noise generator whose output is a 3D field of concentric cylindrical shells.

GKSpheresNoiseSource

A procedural noise generator whose output is a 3D field of concentric spherical shells.

GKCheckerboardNoiseSource

A procedural noise generator whose output is an alternating square pattern.

GKConstantNoiseSource

A procedural noise generator that outputs a field of a single constant value.