Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

No commit message

  • Loading branch information...
commit b12cf54cad776a231efd524621ab4b2e13a5336f 1 parent faac562
Elijah Insua authored
Showing with 33 additions and 0 deletions.
  1. +33 −0 README.md
33 README.md
View
@@ -1,3 +1,36 @@
# 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
+ }
+ }
+
Please sign in to comment.
Something went wrong with that request. Please try again.