joshforisha / open-simplex-noise-js

OpenSimplex noise for TypeScript/JavaScript
The Unlicense
142 stars 21 forks source link

open-simplex-noise is not the fastest noise library #3

Closed xaroth8088 closed 5 years ago

xaroth8088 commented 5 years ago

I don't know if speed is even a design goal for you, so feel free to close this issue if it's not. 😄

Basically, I decided to evaluate a handful of different noise generators while profiling texture-generation in one of my own projects and thought you might be interested to see how this library stacks up if nothing else.

jsperf is here: https://jsperf.com/fast-simplex-noise/1

joshforisha commented 5 years ago

There are no doubt improvements could be made, but essentially no, performance alone is not the goal of this library.

See the wiki entry OpenSimplex noise and the related links for why it exists, and what trade-offs it has been designed for.