This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--[[ | |
Implemented as described here: | |
http://flafla2.github.io/2014/08/09/perlinnoise.html | |
]]-- | |
perlin = {} | |
perlin.p = {} | |
-- Hash lookup table as defined by Ken Perlin | |
-- This is a randomly arranged array of all numbers from 0-255 inclusive |