public class SimplexNoise extends Object
It was originally authored by Stefan Gustavson.
The original implementation can be found here: http://http://staffwww.itn.liu.se/.
| Constructor and Description |
|---|
SimplexNoise() |
| Modifier and Type | Method and Description |
|---|---|
static float |
noise(float x,
float y)
Compute 2D simplex noise for the given input vector
(x, y). |
static float |
noise(float x,
float y,
float z)
Compute 3D simplex noise for the given input vector
(x, y, z). |
static float |
noise(float x,
float y,
float z,
float w)
Compute 4D simplex noise for the given input vector
(x, y, z, w). |
public static float noise(float x,
float y)
(x, y).
The result is in the range [-1..+1].
x - the x coordinatey - the y coordinate[-1..+1])public static float noise(float x,
float y,
float z)
(x, y, z).
The result is in the range [-1..+1].
x - the x coordinatey - the y coordinatez - the z coordinate[-1..+1])public static float noise(float x,
float y,
float z,
float w)
(x, y, z, w).
The result is in the range [-1..+1].
x - the x coordinatey - the y coordinatez - the z coordinatew - the w coordinate[-1..+1])Copyright © 2015–2019 JOML. All rights reserved.