Introduction
The new
JAVASCRIPT
mode in Processing 2 uses Processing.js, a JavaScript port of the Processing language. This port uses the HTML5 canvas element to render your Processing sketches. In this chapter, we'll take a look at drawing some simple 2D and 3D sketches with Processing.js. In the more advanced examples, we'll take a look at how we can combine Processing.js with regular JavaScript and the jQuery library.