2 ms·
In creating https://github.com/bit101/bljs/blob/master/src/noise.js https://github.com/bit101/bljs/blob/master/src/noise.js, did the author port the C++ code fr
by jaytaylor 5y ago
In creating https://github.com/bit101/bljs/blob/master/src/noise.js https://github.com/bit101/bljs/blob/master/src/noise.js, did the author port the C++ code from here [0]?
I'm not familiar enough with Perlin or Simplex noise to know if it's standard to use the same "random" values in the permutation table across implementations [1].
[0] https://cm-gitlab.stanford.edu/andreab/mus320c-harmonizer/blob/master/Source/SimplexNoise.cpp#L71-84 https://cm-gitlab.stanford.edu/andreab/mus320c-harmonizer/bl...
[1] https://github.com/bit101/bljs/blob/master/src/noise.js#L37-L49 https://github.com/bit101/bljs/blob/master/src/noise.js#L37-...