A method of scanning a light beam is disclosed. The method comprises scanning the light beam along a first axis and scanning the light beam along a second axis, such that a functional dependence of the scanning along the first axis is substantially a step-wave, and a functional dependence of the scanning along the second axis is other than a step-wave.