Skip to content

Instantly share code, notes, and snippets.

View jkosoy's full-sized avatar

Jamie Kosoy jkosoy

View GitHub Profile
jkosoy / perlin-noise-simplex.js
Created May 23, 2012 18:35 — forked from banksean/perlin-noise-classical.js
Minified Perlin Noise Simplex.
// Ported from Stefan Gustavson's java implementation
// Read Stefan's excellent paper for details on how this code works.
// Sean McCullough
* You can pass in a random number generator object if you like.
* It is assumed to have a random() method.