create_simplex_noise_2d
Functions
- create_simplex_noise_2d([random]) ⇒
function
Creates a 2D noise function
Builds a random permutation table
create_simplex_noise_2d([random]) ⇒ function
Creates a 2D noise function
Kind: global function
Returns: function - producing values in range -1 .. 1
| Param | Description |
|---|---|
| [random] | the random function that will be used to build the permutation table |
buildPermutationTable(random, p)
Builds a random permutation table
Kind: global function
| Param | Type | Description |
|---|---|---|
| random | function | |
| p | Uint8Array | result will be written here |