gradCoord4D
fun gradCoord4D(seed: Int, x: Int, y: Int, z: Int, w: Int, xd: Double, yd: Double, zd: Double, wd: Double): Double(source)
Computes a gradient coordinate value in 4D space based on the provided inputs.
Return
A double value representing the calculated gradient coordinate in 4D space.
Parameters
seed
An integer seed value used to initialize the hash function.
x
The x-coordinate as an integer.
y
The y-coordinate as an integer.
z
The z-coordinate as an integer.
w
The w-coordinate as an integer.
xd
The x-offset as a double.
yd
The y-offset as a double.
zd
The z-offset as a double.
wd
The w-offset as a double.