A scanning system device has a predetermined aberration as it scans or switches light along selected optical paths. A deformable membrane receives the light and introduces an inverse “aberration” that offsets that of the scanning system. In one embodiment the scanning system includes a torsion arm that supports an oscillatory body. The torsion arm and/or body can be machined from metal, micromachined in silicon or formed in a variety of other ways. Alternatively, the scanning system may include a rotating polygonal scanner or other type of optical scanner. In another approach, an optical switch replaces the scanner.