Module: compute/makeGeography/makeTractNoise

(require("compute/makeGeography/makeTractNoise"))(nx, ny)

Generate a noisy 2D map with two noise sources per pixel.
Parameters:
Name Type Description
nx number Number of x pixels
ny number Number of y pixels
Source:

Methods

(static) simplexNoise(nx, ny, noiseWidth, noiseHeight) → {Array.<Array.<Array.<number>>>}

Generate a noisy 2D map with two noise sources per pixel.
Parameters:
Name Type Description
nx number Number of x pixels
ny number Number of y pixels
noiseWidth number A characteristic size of blobs, in pixels
noiseHeight number A characteristic size of blobs, in pixels
Source:
Returns:
- Noise in pixel displacement, indexed by row, col, dimension
Type
Array.<Array.<Array.<number>>>