A TypeScript implementation of the improved, faster Simplex algorithm outlined in Stefan Gustavson's Simplex noise demystified.
- Deno module: https://deno.land/x/fast_simplex_noise
- NPM package: fast-simplex-noise
See fractal-noise-js (Deno: fractal_noise, NPM: fractal-noise) for higher order noise shapes.
Each make function takes a random
function (() => number)
) as its argument, defaulting to Math.random
.
Returns a two-dimensional noise generation function.
Returns a three-dimensional noise generation function.
Returns a four-dimensional noise generation function.