Skip to content

Releases: jwagner/simplex-noise.js

4.0.1

14 Oct 16:51
93b5ffb
Compare
Choose a tag to compare
  • Explicitly defined the return type of createNoise4D to be NoiseFunction4D. Contributed by satelllte.

4.0.0 Tree shakeable

23 Jul 09:00
Compare
Choose a tag to compare

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.

Add simplex-noise.ts for source maps

04 Jan 00:59
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 3.0.0...3.0.1

Typescripted

23 Aug 09:12
Compare
Choose a tag to compare
  • 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

10 Feb 11:38
Compare
Choose a tag to compare

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

2.3.0

31 Dec 00:51
Compare
Choose a tag to compare
Make sure seed affects output