On Wed, Apr 22, 2015 at 8:39 PM, Florian Gillard <florian.gillard@gmail.com> wrote:
I am trying to implement a basic pelin noise function, but I have some problem with the integer to noise function used to generate deterministic noise from integer inputs.

the function I am trying to implement is defined there:
http://libnoise.sourceforge.net/noisegen/index.html#continuousnoise

I understand you're trying to transcribe an algorithm given in C into Haskell.

That's a great way to learn. In fact, if you zoom out a bit, there's more to explore in the various prng libraries on hackage.

For it so happens that the exact function you cited is a prng, one of many.

-- Kim-Ee