Smoothly transitioning line from point to point