This project is an attempt to reproduce the natureofcode.com examples in TypeScript.
It's a very initial work in progress. The main drivers being to learn TypeScript, Processing, and the concepts outlined in the book.
- Install Node.js, if you haven't already
- Install the Grunt command line interface (if you haven't already); on the command line, run
npm install -g grunt-cli
- Clone the 'processing-ts' repository and 'processing-ts-examples' module
git clone --recursive https://github.com/processing-ts/processing-ts.git
To compile only the core processing-ts files run:
To compile the core and example files run:
To compile and minify the natureofcode examples into a single file run:
To view the examples locally you can install node http-server:
npm install http-server -g
within the processing-ts directory, then browse to: