horizontal_distance_demo