Atlas Engine
API Referenceaurora

PerlinNoise

Two-dimensional Perlin noise generator with optional seed.

Module: aurora

Two-dimensional Perlin noise generator with optional seed.

Declaration

export class PerlinNoise { ... }

Constructors

Creates a new perlin noise.

constructor(seed?: number);

Methods

noise

Samples the noise function at the supplied coordinates.

noise(x: number, y: number): number;

On this page