The concept of using a hierarchical representation is directly related to scene graphs in WebGL, here is a cool demo that has full code for an animated cube man by Gregg Tavares.
masoudc
So interesting, thanks for sharing this. The planet example makes it more clear how different tree structures lead to more flexibility in animation. The JS implementation is also more brief. Just so much good insight here.
The concept of using a hierarchical representation is directly related to scene graphs in WebGL, here is a cool demo that has full code for an animated cube man by Gregg Tavares.