3D every(where) noise javascript class for all your noise needs. 20kb minified, dependency-free.
erosion-like fBM
import Noise from "https://flo-bit.github.io/every-noise/noise.js";
// optionally pass in settings object
let noise = new Noise();
// z and w are optional
let value = noise.get(x, y, z, w);
OR
// vector has {x, y, (optional) z, (optional) w} properties
let value = noise.get(vector);
Vector class (2D, 3D, 4D) with vector math functions
jsrand for seeded pseudo random number generation
this is a work in progress, so expect bugs and changes. until version 1.0.0 is released, the api as well as noise results may change.
erosion 1D noise
erosion 2D noise
erosion on sphere
pixi noise flow field
adding gui to examples
add more noise types
add more examples
add gui to warped, ridged and simple 3D sphere example
add example with all options and gui
MIT License, see LICENSE file for details.
This project uses the following libraries: