0.1.3 • Published 11 years ago

carena v0.1.3

Weekly downloads
-
License
-
Repository
-
Last release
11 years ago

Carena

Lightweight javascript scene graph for use with canvas

Structure

Provides structure of the tree, in an extremely stripped down representation

var treeDefinition = { canvas : { yellow : { green : {} }, red : { blue : {} } } }

Behavior

Implemented in javascript using css-like selectors

var tree = carena.Builder(treeDefinition, [ /* default features */ ]);
tree.find("canvas.yellow.green").remove();

Styling

{ 
  "yellow, red" : {
    width: 100,
    height: 10
  }
}
 
0.1.3

11 years ago

0.1.2

13 years ago

0.1.1

13 years ago

0.1.0

13 years ago