Method for providing to an eye of a wearer a customizable ophthalmic lens comprising a transparent set of electroactive cells juxtaposed to a surface of the said lens, said set of cells being activable and suitable for providing an optical phase-shift distribution function characterizing a dioptric function of the ophthalmic lens in terms of dioptric power and/or astigmatism, every electroactive cell having dimensions such that it can be fully comprised in a 70μm diameter circle, the said method comprising the steps of: - providing a plurality of reference phase-shift distribution functions adapted to provide to the wearer a plurality of given dioptric functions DF n (α, β), each of said reference phase-shift distribution functions characterizing a dioptric function of the ophthalmic lens in terms of dioptric power and/or astigmatism and being expressed with respect to a reference point P R, the reference phase-shift function having a null gradient at said reference point P R, and a reference gaze direction (α R, β R) being associated to the reference phase-shift distribution function; - determining the actual gaze direction (α a, β a) of the eye of the wearer when wearing the customizable ophthalmic lens; - choosing a reference gaze direction (α R, β R) for positioning said reference point P R; - calculating an actual point P a and the reference point P R, said actual point P a being the intersection between the actual gaze direction of the eye of the wearer and the transparent set of electroactive cells and said reference point P R being located at the intersection between the reference gaze direction of the eye of the wearer and the transparent set of electroactive cells; - determining an actual viewing distance of the eye of the wearer; - choosing a reference phase-shift distribution function among the plurality of reference phase-shift distribution functions depending on the actual gaze direction (α a, β a) and of the actual viewing distance of the eye of the wearer when wearing the customizable ophthalmic lens, wherein the reference phase-shift distribution function is chosen among a list of a plurality of reference phase-shift distribution functions consisting of: at least a reference phase-shift distribution function adapted to provide to the wearer a given dioptric function DF NV (α, β) suitable for near vision, at least a reference phase-shift distribution function adapted to provide to the wearer a given dioptric function DF FV (α, β) suitable for far vision, at least a reference phase-shift distribution function adapted to provide to the wearer a given dioptric function DF IV (α, β) suitable for intermediate vision; - calculating a modified phase-shift distribution function by shifting the chosen reference phase-shift distribution function according to a vector P R P a; and - activating the electroactive cells according to the said modified phase-shift distribution function so as to provide a customized ophthalmic lens to the eye of the wearer. - providing a plurality of reference phase-shift distribution functions adapted to provide to the wearer a plurality of given dioptric functions DF n (α, β), each of said reference phase-shift distribution functions characterizing a dioptric function of the ophthalmic lens in terms of dioptric power and/or astigmatism and being expressed with respect to a reference point P R, the reference phase-shift function having a null gradient at said reference point P R, and a reference gaze direction (α R, β R) being associated to the reference phase-shift distribution function; - determining the actual gaze direction (α a, β a) of the eye of the wearer when wearing the customizable ophthalmic lens; - choosing a reference gaze direction (α R, β R) for positioning said reference point P R; - calculating an actual point P a and the reference point P R, said actual point P a being the intersection between the actual gaze direction of the eye of the wearer and the transparent set of electroactive cells and said reference point P R being located at the intersection between the reference gaze direction of the eye of the wearer and the transparent set of electroactive cells; - determining an actual viewing distance of the eye of the wearer; - choosing a reference phase-shift distribution function among the plurality of reference phase-shift distribution functions depending on the actual gaze direction (α a, β a) and of the actual viewing distance of the eye of the wearer when wearing the customizable ophthalmic lens, wherein the reference phase-shift distribution function is chosen among a list of a plurality of reference phase-shift distribution functions consisting of: at least a reference phase-shift distribution function adapted to provide to the wearer a given dioptric function DF NV (α, β) suitable for near vision, at least a reference phase-shift distribution function adapted to provide to the wearer a given dioptric function DF FV (α, β) suitable for far vision, at least a reference phase-shift distribution function adapted to provide to the wearer a given dioptric function DF IV (α, β) suitable for intermediate vision; - calculating a modified phase-shift distribution function by shifting the chosen reference phase-shift distribution function according to a vector P R P a; and - activating the electroactive cells according to the said modified phase-shift distribution function so as to provide a customized ophthalmic lens to the eye of the wearer.