     @style[DivSugar._transformOrigin] = '0% 0%'
     @style[DivSugar._perspectiveOrigin] = '50% 50%'
 
-    @rootNode = DivSugar.createNode 'rootNode'
-    @appendChild @rootNode
+    @_rootNode = DivSugar.createNode 'rootNode'
+    @appendChild @_rootNode
+    @appendChild = (args...) -> @_rootNode.appendChild args...
+    @insertBefore = (args...) -> @_rootNode.insertBefore args...
+    @removeChild = (args...) -> @_rootNode.removeChild args...
+    @replaceChild = (args...) -> @_rootNode.replaceChild args...
 
-    @setPerspective 1000
+    @setViewAngle 45
     @setSize 400, 300
     @setPosition 0, 0
     @setVisible true


    return @

  resize: (width, height, mode) ->
    if @parentNode?
      switch mode
        when 'center'
          break


    @setImage '#0000ff'
    @setImageClip 0, 0, 1, 1

  getViewAngle: -> @_viewAngle
  getPerspective: -> @_perspective

  setViewAngle: (viewAngle) ->
    @_viewAngle = viewAngle
    @_perspective = Math.tan((90 - viewAngle / 2) * DivSugar.DEG_TO_RAD) * @_viewWidth / 2
    @style[DivSugar._perspective] = "#{@_perspective.toFixed(DivSugar.NUM_OF_DIGITS)}px"
    return @

  getWidth: -> @_width
