Class representing Perlin noise generation.

Constructors

Properties

Methods

Constructors

Properties

perlin: undefined | number[]

Methods

  • Generates Perlin noise at a given point.

    Parameters

    • x: number

      The x-coordinate.

    • y: number = 0

      The y-coordinate.

    • z: number = 0

      The z-coordinate.

    Returns number

    The Perlin noise value at the specified point.