What is Worley Cellular Noise?
Worley cellular noise is a generative art technique that produces patterns resembling natural phenomena such as cell clusters or mineral deposits. It involves generating a grid of points and calculating the distance to the nearest feature point, which can be jittered for added randomness.
The method is named after Nick Worley who introduced it in 1996, though similar techniques existed before. It has since become popular in computer graphics due to its ability to create realistic textures.
How Does It Work?
To generate Worley noise, a grid of points is placed over the desired space. For each point on the grid, the distance to the nearest feature point (or multiple feature points) is calculated using one of several metrics such as Euclidean, Manhattan, or Chebyshev. The result is then mapped onto a color palette to produce the final image.
The key parameters include cell density, which controls how many points are placed in the grid; jitter, which adds randomness to the feature points; and contrast, which adjusts the range of values used for coloring.
Why Does It Matter?
Worley cellular noise is significant because it can generate highly detailed and realistic textures that mimic natural patterns. This makes it invaluable in fields like computer graphics, video game design, and architectural visualization.
Moreover, the technique's simplicity and flexibility allow for a wide range of applications, from procedural terrain generation to artistic renderings.
Real-World Examples
Worley noise is used in video games to create realistic landscapes. For example, it can generate believable cave systems or simulate the appearance of rock formations.
In architectural visualization, Worley noise helps designers create detailed and natural-looking outdoor spaces that enhance the realism of their projects.
Frequently asked questions
What are the different distance metrics used in Worley noise?
Worley noise can use Euclidean (straight-line), Manhattan (taxicab), and Chebyshev (maximum coordinate difference) distances to calculate the nearest feature point.
How does jitter affect the output of Worley noise?
Jitter adds randomness to the positions of the feature points, resulting in more varied and organic patterns. Without jitter, all cells would align perfectly with the grid, leading to a less natural appearance.
Can Worley noise be used for anything other than generating textures?
Yes, Worley noise can also be applied to generate procedural terrain in video games and simulations, as well as to create artistic renderings and visual effects.
Is Worley cellular noise the same as Perlin noise?
No, while both are generative art techniques used for creating natural-looking textures, Perlin noise is based on interpolating values from a grid of random numbers, whereas Worley noise calculates distances to feature points.
Try it live
Everything above runs in your browser — open Worley Cellular Noise (2D) and change the parameters while it is running. Nothing is installed, nothing is uploaded, the whole model lives in one tab.
▶ Open Worley Cellular Noise (2D) simulation