Simplex Methods

These methods create sequences of simplex noise.

simplex2D

Generates a 2d simplex noise.

const SEED = 5
const sequence: Seq<number> = simplex2D((x, y) => x + y, SEED)

simplex3D

Generates a 3d simplex noise.

const SEED = 5
const sequence: Seq<number> = simplex3D((x, y, z) => x + y + z, SEED)

simplex4D

Generates a 4d simplex noise.

const SEED = 5
const sequence: Seq<number> = simplex4D((x, y, z, w) => x + y + z + w, SEED)

Last updated