Interface: perlin4d

syngen.utility.perlin4d

Provides an interface for generating seeded four-dimensional Perlin noise.

Source:
See:
To Do:
  • Document private members

Methods

(static) create() → {syngen.utility.perlin4d}

Instantiates a four-dimensional Perlin noise generator.

Parameters:
Name Type Attributes Description
...seeds String <optional>
<repeatable>
Source:
Returns:
Type
syngen.utility.perlin4d

reset()

Clears all generated values. Implementations are encouraged to call this whenever syngen.seed is set, syngen.state is reset, or memory becomes an issue.

Source:

value(x, y, z, t) → {Number}

Calculates the value at (x, y, z, w).

Parameters:
Name Type Description
x Number
y Number
z Number
t Number
Source:
Returns:
Type
Number