   if params.dist > collisionTreshold
     #console.log "#### Too far, nearest approach #{params.dist} > #{collisionTreshold}"
     return
-  #console.log "#### colliding with offset #{JSON.stringify offset}"
+  
   #console.log "#### CP: #{JSON.stringify params}"
   #console.log "#### AP: #{JSON.stringify ap}"
   

        if result.found
          result.transform = tfm
          break
    return result

  _classifyNormalizedPattern: (pattern, time, dx, dy, period) ->

  if not coll.collided
    #console.log "#### No interaction detected until T=#{timeGiveUp}. Give up."
    return
    
  console.log "#### colliding:"
  console.log "#### 1)  #{normalizedRle p1} at x=0, y=0, t=0"
  console.log "#### 2)  #{normalizedRle p2} at x=#{offset[0]}, y=#{offset[1]}, t=#{offset[2]}"
  #console.log "#### Got hit at T=#{coll.time}  (give up at #{timeGiveUp})"
  timeCollisionStart = coll.time
  
