SimplexNoise Class

Module: Physics

Simplex noise generator object. Can generate 1D, 2D, 3D and 4D noise.

Ported from Stefan Gustavson's java implementation (http://staffwww.itn.liu.se/~stegu/simplexnoise/simplexnoise.pdf) Stefan's excellent paper for details on how this code works.

Constructor

SimplexNoise

(
  • r
)

Parameters:

  • r Any

    Optional, random number generator object, it is assumed to have a random() method.

Item Index