to produce a predetermined alteration of the refractive index of each of the optical lenses; and a ranging system mounted in the frame and connected to the computer system, the ranging system including a transmitter positioned to transmit a beam of energy onto an object in a field of view of the eyeglasses, and a receiver positioned to receive energy reflected from the object and supply an electr