A device and a computer program for material processing, in particular refractive eye surgery, operate with a pulsed femtosecond laser and the individual focal points are positioned in such a way that the spacings of neighboring focal points for the most part vary, in order to avoid a regular grating structure avoiding undesired diffraction phenomena.