Skip to content
This repository has been archived by the owner on Sep 22, 2024. It is now read-only.

nature-of-code/noc-examples-p5.js-archived

Repository files navigation

The Nature of Code Examples p5.js

This repo is now archived. The updated and current examples for the The Nature of Code book can be found listed on the examples page on the website.

There are multiple ways to find the code for the examples:

Important

What appears is the outdated documentation of the examples from the 2012 edition of The Nature of Code.

The-Nature-of-Code-Examples p5.js

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.

Installation Instruction

To run these examples you have to use a local server.

For more information on how to use a local server,Please visit following links.

Local Server Guide

p5.js Workflow

Local Server,Text Editor,Console

Note

I have specifically set the link attribute to "//" to support both http and https protocol while fetching p5.js library.This is intended and not a bug.