Provides an interface for generating seeded three-dimensional OpenSimplex noise.
- Source:
- See:
- To Do:
-
- Document private members
Methods
(static) create() → {syngen.utility.simplex3d}
Instantiates a three-dimensional OpenSimplex noise generator.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
...seeds |
String |
<optional> <repeatable> |
- Source:
Returns:
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) → {Number}
Calculates the value at (x, y, z)
.
Parameters:
Name | Type | Description |
---|---|---|
x |
Number | |
y |
Number | |
z |
Number |
- Source:
Returns:
- Type
- Number