Animated removal of self-intersecting segments