threejs-worldgen
    Preparing search index...

    Function gradientNoise

    • 3D gradient noise with quintic fade and analytic derivatives (after Iñigo Quilez). Writes into out and returns it, so hot loops allocate nothing.

      Parameters

      • seed: number
      • x: number
      • y: number
      • z: number
      • out: NoiseSample = ...

      Returns NoiseSample