Skip to content

imclab/toxiclibsjs-examples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Toxiclibs.js Examples

##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

  1. Node.js is used for compiling sources into static pages
  2. Docco is used for rendering annotated source and injecting it into the example templates
  3. Jade is used for server-side templating
  4. Less is used for stylesheet pre-processing

##Creating a new example

  1. Create a new javascript file in the examples/ directory
  2. run node build --watch to begin watching files
  3. Add the new example into the site.js file, including the template that should be used, i.e. pjs, require, canvas2d or index

Releases

No releases published

Packages

No packages published