Skip to content

Instantly share code, notes, and snippets.

View Brickcaster's full-sized avatar

Mylon Brickcaster Brickcaster

View GitHub Profile
@Brickcaster
Brickcaster / perlin.lua
Created March 11, 2018 22:48 — forked from kymckay/perlin.lua
Perlin Noise in Lua
--[[
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