GKCylindersNoiseSource
A procedural noise generator whose output is a 3D field of concentric cylindrical shells.
Declaration
class GKCylindersNoiseSourceOverview
All noise sources generate infinite 3D fields of noise values, but this fact is especially relevant to cylinder noise: by rotating a noise object in 3D, you can sample the noise in ways that “slice” across or along the cylinders. Use this technique (combined with other noise sources and noise processing operations) to create effects such as wood-grain textures.
[Image]
Like all GKNoiseSource subclasses, a cylinder 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.