 
   draw: (cells, context) ->
     return false if (not @cellShapes) or (not @workerReady)
-    context.fillStyle = "black"
-    context.lineWidth = 1.0/400.0
-    context.strokeStyle = "rgb(128,128,128)"
-
     #first borders
     context.beginPath()
     for cell, i in @cells

    @rebuildAt @appendRewrite @center, appendArray
        
  draw: (cells, viewMatrix, context) ->
    context.fillStyle = "black"
    context.lineWidth = 1.0/400.0
    context.strokeStyle = "rgb(128,128,128)"

    #first borders
    context.beginPath()
    for cell, i in @cells

    rebaseView()

  observer.renderGrid tfm

viewDistanceToOrigin = ->
  #viewCenter = M.mulv tfm, [0.0,0.0,1.0]
