Contour following techniques