BF2D An algorithm to follow/trace boundaries in binary images. Creates a sequence of points on each side of the boundary. Examples with the same shape, varying precision: Animated here Animated here