Maven module :un.api : api-image :
Class :
un.impl.image.process.noise.SimplexNoise
Extends/Implements : -
Subclasses : -
Variables : -
Functions :
noise,
noise,
noise
public double
noise (double xin, double yin)
public double
noise (double xin, double yin, double zin)
public double
noise (double x, double y, double z, double w)
Simplex noise in 2D, 3D and 4D
A speed-improved simplex noise algorithm for 2D, 3D and 4D in Java.
Based on example code by Stefan Gustavson (stegu@itn.liu.se).
Optimisations by Peter Eastman (peastman@drizzle.stanford.edu).
Better rank ordering method by Stefan Gustavson in 2012.
This could be speeded up even further, but it's useful as it is.
Version 2012-03-09
This code was placed in the public domain by its original author,
Stefan Gustavson. You may use it as you see fit, but
attribution is appreciated.
Code taken from :
http://webstaff.itn.liu.se/~stegu/
TODO transpose the perlin noise from GLSL shader.
@author Stefan Gustavson (original code)
@author Peter Eastman (optimisation)
@author Johann Sorel (adapted to Unlicense project)