separate a code to draw visualizer into facing_visualizer.cpp