Toxiclibs.js Examples
http://haptic-data.com/toxiclibsjs
##The Examples
The sites rendered example html files are located in www/. Each examples source file is in examples/ any file ending in .pde
is a processing.js file. A description of each example is in config.json
##Install dependencies npm install This site uses docco which has additional dependencies. View the readme file for more information.
##Basic System
- Node.js is used for compiling sources into static pages
- Docco is used for rendering annotated source and injecting it into the example templates
- Jade is used for server-side templating
- Less is used for stylesheet pre-processing
##Creating a new example
- Create a new javascript file in the
examples/
directory - run
node build --watch
to begin watching files - Add the new example into the site.js file, including
the template that should be used, i.e.
pjs
,require
,canvas2d
orindex