GKVoronoiNoiseSource
A procedural noise generator whose output (also called Worley noise or cellular noise) divides space into discrete cells surrounding random seed points.
Declaration
class GKVoronoiNoiseSourceOverview
Voronoi noise can generate textures resembling natural phenomena such as crystalline structures, cracked mud, or star fields.
[Image]
Like all GKNoiseSource subclasses, a Voronoi noise source represents a noise generation algorithm and its parameters. To make use of a noise source, first create GKNoise object from it (and optionally apply operations to that noise object or combine it with other noise objects). Then create a GKNoiseMap object from your noise object, generating a concrete field of values that you can sample from directly or visualize using the SKTexture or SKTileMap class.
Topics
Creating a Noise Source
init(frequency:displacement:distanceEnabled:seed:)voronoiNoise(withFrequency:displacement:distanceEnabled:seed:)