Function createNoise4D

  • Creates a 4D noise function

    Returns

    Parameters

    • random: RandomFn = Math.random

      the random function that will be used to build the permutation table

    Returns ((x: number, y: number, z: number, w: number) => number)

      • (x: number, y: number, z: number, w: number): number
      • Parameters

        • x: number
        • y: number
        • z: number
        • w: number

        Returns number

Generated using TypeDoc