     @viewUpdates = 0
     #precision falls from 1e-16 to 1e-9 in 1000 steps.
     @maxViewUpdatesBeforeCleanup = 500
-  
+    @xyt2path = makeXYT2path @tessellation.group, @appendRewrite
+
+    @onFinish = null
 
   rebuildAt: (newCenter) ->
     @center = newCenter

    #console.log  "New center at #{showNode newCenter}"
    @rebuildAt @appendRewrite @center, appendArray
        
  draw: (cells, viewMatrix, context) ->
    #first borders
    if @drawEmpty
      context.beginPath()
      for cell, i in @cells
        unless cells.get cell
          cellTfm = @cellTransforms[i]
          mtx = M.mul viewMatrix, cellTfm
          @tessellation.makeCellShapePoincare mtx, context
      context.stroke()


#putRandomBlob = (cells, radius, percent, n, m, appendRewrite)->
  
# ============================================  app code ===============
#

canvas = E "canvas"
context = canvas.getContext "2d"
minVisibleSize = 1/100
