Remake 2D visualization logic.