###Demo
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
- Run
npm install
To compile only the core processing-ts files run:
grunt
To compile the core and example files run:
grunt examples
To compile and minify the natureofcode examples into a single file run:
grunt natureofcode
To view the examples locally you can install node http-server:
npm install http-server -g
and run:
http-server
within the processing-ts directory, then browse to:
http://localhost:8080/examples/natureofcode/