This is the repository for example p5.js code from The Nature of Code book. If you are looking for the book's raw content (text, illustrations, images, CSS, etc.), have a look at The Nature of Code repo.
The original Processing examples can be found here, along with a list of other ports.