Skip to content

simplex3D

simplex3D(x, y, z, seed?): number

Defined in: src/modules/noise/noise.ts:360

Ken Perlin’s simplex noise, 3D — gradient noise on a tetrahedral lattice, the 3D sibling of simplex2D and the usual pick for volumetric terrain, clouds and flow fields.

Uses the canonical 32 scaling; paired with unit-length gradients (as here) that puts the practical peak at about 0.69 rather than 1 — still inside [-1, 1], but scale by amplitude if you need the full swing.

number

number

number

number = 0

number