Drawing smoothed lines with interpolation.