create distance visualizer