HTML5 adapted perlin noise simulation.
The perlin noise algorithm was ported to JS from the original Java class
https://mrl.nyu.edu/~perlin/noise/
. This is
the paper
written by Stefan Gustavson which explains thoroughly the Perlin noise method. I relied to it a lot during implementation.