Early attempts to image solid objects borrowed an astronomy technique called "adaptive optics," which uses algorithms to calculate how much an image has been distorted by the atmosphere. Scientists adjusted the technique to solid bodies by shining a laser through a "spatial light modulator" to delay different parts of the beam. After the light passes through the modulator and an opaque object, a detector on the other side can figure out where the scattered light came from and piece together a coherent image.