[Haskell-beginners] integer to noise function in Haskell

Kim-Ee Yeoh ky3 at atamo.com
Wed Apr 22 14:13:05 UTC 2015


On Wed, Apr 22, 2015 at 8:39 PM, Florian Gillard <florian.gillard at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/beginners/attachments/20150422/7646d804/attachment-0001.html>


More information about the Beginners mailing list