Nest: scenegraph and events for Processing
in
Library and Tool Development
•
2 years ago
I
posted previously about a library i wrote that provides a parent-child scenegraph structure and a simple implementation of the
DOM event model. i've made updates, and renamed the library, so am re-posting here.
from the library's webpage:
enjoy!
-eric
from the library's webpage:
Nest provides a high-level, simple scenegraph for Processing, loosely following the API for the scenegraph and display list implemented by ActionScript 3.
Nest is targeted toward Processing 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.
Nest also includes an event-based communication system, built on the Observer pattern as implemented by Java's Observer interface. It loosely follows elements of the AS3 / DOM Event Model.
i've tried to be good about documentation and examples. hopefully some find this useful.enjoy!
-eric
1