Cyclically varying rate of tool or work movement