Diffraction gratings have a long history, but researchers in Sweden have now come up with a new method for producing one- and two-dimensional grating patterns. The approach could be useful for fabricating complicated nanostructures and optical devices.