fast-uniform-noise

0.0.6 • Public • Published

Simplex noise scaled to a uniform distribution.

Based on https://github.com/joshforisha/fast-simplex-noise-js. Scales that algorithm via a pre-sampled histogram to generate noise with the same properties, only scaled to return values from a roughly uniform distribution.

const fastUniformNoise = require('fast-uniform-noise');
const noiser = new fastUniformNoise({
  // takes the same options as fast-simplex-noise
  random: Math.random
});
noiser.in2D(100, 100); // the only function currently supported

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.61latest

Version History

VersionDownloads (Last 7 Days)Published
0.0.61
0.0.50
0.0.40
0.0.30
0.0.20
0.0.10

Package Sidebar

Install

npm i fast-uniform-noise

Weekly Downloads

1

Version

0.0.6

License

ISC

Last publish

Collaborators

  • kazmer