def METHOD_NAME(self, n1, n2):
    dx = n2.vx - n1.vx
    dy = n2.vy - n1.vy
    d2 = dx ** 2 + dy ** 2
    if d2 < 0.01:
        dx = random() * 0.1 + 0.1
        dy = random() * 0.1 + 0.1
        d2 = dx ** 2 + dy ** 2
    d = sqrt(d2)
    return dx, dy, d