You will find code examples in the main github-repo in the folder examples/03-...
examples/03-...
http://genekogan.com/code/p5js-perlin-noise/