One embodiment is a machine comprising a sequential wavefront scanner, a variable aperture, a position sensing device and an electronic control and detection system. The electronic control and detection system is configured to control the sequential wavefront scanner to shift the incident wavefront by a set of displacements selected to form a selected scanning pattern to scan the incident wavefront and configured to vary the aperture size to vary detection resolution at different parts of the scanning pattern.