Skip to content

Perlin's 1985 noise algorithm to arbitrary dimensions.

Notifications You must be signed in to change notification settings

SimonMossmyr/ArbitraryNoise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Arbitrary Noise

Implementation of Perlin's 1985 noise algorithm to arbitrary dimensions.

The algorithm has many uses within the computer graphics field, mostly for adding realism to textures but also for generating naturalistic terrain, liquids and animation. The dimension used is almost always 2, 3 or 4 (although Perlin has mentioned 5 being used), so most implementations you find online are hard-coded for these dimensions. This implementation, however, can be used for any dimension.

The time- and space complexity of the algorithm is O(2^n), so for higher dimensions it is incredibly slow and memory consuming.

Usage

For full usage documentation, generate Javadoc from Noise.java (or just look at the code comments).

  • Noise(n): Class constructor for noise in n-dimensional space,
  • evaluate(p): Evaluate the noise value at the point p.

About

Perlin's 1985 noise algorithm to arbitrary dimensions.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages