Simplex Noise.js Versions Save

A fast simplex noise implementation in Javascript / Typescript.

4.0.1

1 year ago
  • Explicitly defined the return type of createNoise4D to be NoiseFunction4D. Contributed by satelllte.

4.0.0

1 year ago

This new version completely changes the API

  • Reworked the API so that the noise functions can be imported individually. When combined with tree shaking this helps with build sizes.
  • Removed the built in version of the ALEA PRNG to focus the library to do only one thing. If you want to continue to use it you'll have to install and import it separately.
  • Noise functions are a bit faster (~ 20 - 30%).
  • Noise values can be different from previous versions
  • Input coordinates bigger than 2^31 may not result in a noisy output anymore. If you have a use case that is affected by this change, please file an issue.
  • Test coverage is now at 100%.
  • A big thank you to @mreinstein, @redblobgames and everyone else involved for their comments and PRs which motivated me to create this new version.

3.0.1

2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/jwagner/simplex-noise.js/compare/3.0.0...3.0.1

3.0.0

2 years ago
  • Changed module structure. When using bundlers that import the es module even using require() the import might need to be updated.
  • Dependency update
  • Setting sideEffects: false in package.json
  • Added snapshot tests
  • Code converted to typescript, the package can of course still be used from regular JS
  • Dropped bower
  • Added support for es modules

2.4.0

6 years ago

Included a PRNG based on ALEA to directly allow seeding Included typescript definitions

2.3.0

7 years ago