Worley noise

From Infogalactic: the planetary knowledge core
Jump to: navigation, search
File:Worley.jpg
Example picture generated with Worley noise's basic algorithm. Tweaking of seed points and colors would be necessary to make this look like stone.

Worley noise is a noise function introduced by Steven Worley in 1996. In computer graphics it is used to create procedural textures,[1] that is textures that are created automatically in arbitrary precision and don't have to be drawn by hand. Worley noise comes close to simulating textures of stone, water, or cell noise.

Basic algorithm

The basic idea is to take random points in space (2- or 3-dimensional) and then for every point in space take the distance to the nth-closest point (e.g. the second closest point) as some kind of color information. More precisely:

  • Randomly distribute feature points in space
  • Noise Fn(x) is distance to nth-closest point to x

Typical implementations, in three dimensions, divide the space into cubes. A fixed number of positions are generated for each cube. In the case of three dimensions, nine cubes' points need to be generated, to be sure to find the closest.

See also

References

  1. Lua error in package.lua at line 80: module 'strict' not found.

Further reading

  • Lua error in package.lua at line 80: module 'strict' not found.
  • Lua error in package.lua at line 80: module 'strict' not found.

External links


<templatestyles src="Asbox/styles.css"></templatestyles>

<templatestyles src="Asbox/styles.css"></templatestyles>