Nest

A library by Eric Socolofsky for the Processing programming environment.
Last update, 06/18/2013.

Nest provides a high-level, simple scenegraph for Processing, modeled on the API for the scenegraph and display list implemented by ActionScript 3.

Nest is targeted toward developers familiar with AS3, who wish to organize on-screen objects in a display list hierarchy. As with the AS3 display list, Nest establishes parent-child relationships, applies parent transformations to children, and allows easy manipulation of on-screen objects through member variables such as x, y, rotation, and scale.

In addition to the scenegraph, Nest also includes an event-based communication system (built on the Observer pattern as implemented by Java's Observer interface), and some minimal UI components.

Download

Download Nest version 0.7.0 (9) in .zip format.

Installation

Unzip and put the extracted Nest folder into the libraries folder of your Processing sketches. Reference and examples are included in the Nest folder.

Keywords. scenegraph,event,parent,child,actionscript,as3

Reference. Have a look at the javadoc reference here. A copy of the reference is included in the .zip as well.

Source. The source code of Nest is available at GitHub, and its repository can be browsed here.

Examples

Find a list of examples in the current distribution of Nest, or have a look at them by following the links below.

Tested

Platform OSX 10.5,10.6,10.7,10.8; Windows Vista,7
Processing 2.0
Dependencies