Optical device adapted to be worn by a wearer comprising at least: - a programmable lens having an adjustable optical function and extending between at least one eye of the wearer and the real-world scene when the optical device is worn by the wearer, - an optical function controller comprising - a memory storing at least computer executable instructions; and - a processor for executing the stored computer executable instructions so as to control the optical function of the programmable lens, - a vision sensor adapted to - measure vision data relating to the vision direction and/or vision distance of said at least one eye of the wearer using the optical device, - measure at least two consecutive ocular saccades, and - measure ocular saccade speed, namely the rotation speed of the eyeball, wherein the computer executable instructions comprise instructions for anticipating a next gaze position based on the measured ocular saccade speed and for adjusting the optical function of the programmable lens when the vision data indicate the second ocular saccade of the at least one eye of the wearer, and wherein adjusting the optical function of the programmable lens comprises moving an optical power of the programmable lens with the vision direction of the wearer. - a programmable lens having an adjustable optical function and extending between at least one eye of the wearer and the real-world scene when the optical device is worn by the wearer, - an optical function controller comprising - a memory storing at least computer executable instructions; and - a processor for executing the stored computer executable instructions so as to control the optical function of the programmable lens, - a memory storing at least computer executable instructions; and - a processor for executing the stored computer executable instructions so as to control the optical function of the programmable lens, - a vision sensor adapted to - measure vision data relating to the vision direction and/or vision distance of said at least one eye of the wearer using the optical device, - measure at least two consecutive ocular saccades, and - measure ocular saccade speed, namely the rotation speed of the eyeball, wherein the computer executable instructions comprise instructions for anticipating a next gaze position based on the measured ocular saccade speed and for adjusting the optical function of the programmable lens when the vision data indicate the second ocular saccade of the at least one eye of the wearer, and wherein adjusting the optical function of the programmable lens comprises moving an optical power of the programmable lens with the vision direction of the wearer. - measure vision data relating to the vision direction and/or vision distance of said at least one eye of the wearer using the optical device, - measure at least two consecutive ocular saccades, and - measure ocular saccade speed, namely the rotation speed of the eyeball, wherein the computer executable instructions comprise instructions for anticipating a next gaze position based on the measured ocular saccade speed and for adjusting the optical function of the programmable lens when the vision data indicate the second ocular saccade of the at least one eye of the wearer, and