Skip to content

“Nature of Code” explores simulating natural systems with code using p5.js. This repository features my TypeScript implementations of the examples in the book and other creations.

Notifications You must be signed in to change notification settings

TaherJerbi/nature-of-code

Repository files navigation

Overview

“Nature of Code” is a book by Daniel Shiffman that explores the natural world and how to simulate it using code. This repository contains my implementations of the book’s examples using p5.js, along with some additional examples. In contrast to the book, I have used TypeScript instead of JavaScript. The examples are organized by chapter and can be run directly in the browser.

Setup

To run the examples, install the dependencies and start the development server.

npm install # install dependencies
npm run dev # start the development server

Useful Links

About

“Nature of Code” explores simulating natural systems with code using p5.js. This repository features my TypeScript implementations of the examples in the book and other creations.

Topics

Resources

Stars

Watchers

Forks