• This repository has been archived on 12/Mar/2024
  • Stars
    star
    643
  • Rank 70,000 (Top 2 %)
  • Language
    HTML
  • Created over 5 years ago
  • Updated about 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Repository for The Nature of Code book with p5.js

Archived! 2nd Edition Repo Has Moved

The Nature of Code Book Project with p5.js

Repository for The Nature of Code book with p5.js

Hello. If you found your way here you have found the raw source material for my Nature of Code book. The book is for sale in PDF and print forms at natureofcode.com. There, you'll also find a free version of the book available as HTML.

You may notice that all of the book's content is here -- illustrations, raw text (html), and well as design elements (CSS). The book is licensed under the Creative Commons Attribution-NonCommercial 3.0 Unported License. You are free to share and remix the book, as long as you provide attribution and do not attempt to re-sell.

All of the book's code examples are licensed under the MIT License.

By using GitHub to host all the raw material for the book, it's my hope that I will be able to more easily manage corrections and revisions. Please use the GitHub issues for bug reports, typos, suggestions, etc. You are also welcome to fork the repo, make corrections on your own and submit a pull request.

This repository is in progress. It's for a new edition of the book that I will be generating with The Magic Book. For the previous version of the book, you can check out the Nature of Code archived repo.

Steps to Build The Nature of Code

npm install magicbook -g
  • Clone (or download) this very repo.
  • In terminal, navigate to the directory where you cloned this repo.
  • Enter these commands:
npm install
magicbook build
  • Navigate to "build" directory and look for generated files.
Build Notes

On Mac OSX, you need to install princexml along with the node-prince brew cask install prince or download via here.

More information about Magic Book at its README.

Contributing

See CONTRIBUTING for details.

More Repositories

1

noc-examples-processing

Repository for example code from The Nature of Code book
Processing
2,557
star
2

noc-book

The Nature of Code book (archived repo, see README for new repo / build system!)
JavaScript
1,937
star
3

noc-book-2

The 2024 edition of The Nature of Code with p5.js. Includes Notion workflow and build system.
HTML
1,094
star
4

noc-examples-p5.js-archived

Port to p5.js of Nature of Code examples
JavaScript
1,049
star
5

NOC-S17-2-Intelligence-Learning

Syllabus for Part 2 of Nature of Code: "Intelligence and Learning" at ITP Spring 2017 Edit
JavaScript
932
star
6

The-Nature-of-Code-archive

The very first build system for The Nature of Code
JavaScript
913
star
7

noc-examples-python

Python port (via processing.py) of The Nature of Code Examples
Python
197
star
8

The-Nature-of-Code-Cosmos-Edition

Repository for fall 2013 workshop at ITP on space data visualization
Processing
129
star
9

Nature-of-Code-Website-Archive

Repo for web files for nature of code
JavaScript
111
star
10

noc-syllabus-S20

Syllabus for Nature of Code Spring 2020
JavaScript
103
star
11

NOC-S18

Course repo and syllabus for Nature of Code Spring 2018 at ITP.
JavaScript
88
star
12

NOC-S17-1-Physics-Animation

Syllabus for Part 1 of Nature of Code: "Physics and Animation" at ITP Spring 2017
Processing
81
star
13

noc-syllabus-S23

Syllabus for IMA and ITP Spring 2023 The Nature of Code
59
star
14

noc-syllabus-S19

Course repo and syllabus for Nature of Code Spring 2019 at ITP.
JavaScript
47
star
15

noc-syllabus-S21

45
star
16

noc-kadenze

Code from Kadenze online course
JavaScript
44
star
17

The-Nature-of-Code-S14

Repository for ITP Spring 2014 Course
36
star
18

The-Nature-of-Code-Course

Syllabus and Course Materials for The Nature of Code. Book code examples are here: https://github.com/shiffman/The-Nature-of-Code-Examples
30
star
19

The-Nature-of-Code-JTerm-2015

Class repository for NYU JTerm 2015
JavaScript
16
star
20

noc-syllabus-s24

Spring 2024 Syllabus
15
star
21

noc-syllabus-modules

14
star
22

noc-discord-bot

JavaScript
12
star
23

fetch-notion

Github action that imports `nature-of-code` content on Notion as static HTMLs
JavaScript
10
star
24

The-Nature-of-Code-JTerm-2016

Repository for NYU JTerm class 2016
JavaScript
10
star
25

video.natureofcode.com

Site for nature of code videos
JavaScript
7
star
26

noc-blue-sky-bot

Making a Bot for Blue Sky with atproto
JavaScript
6
star