Calculation of the optical path difference between the input and the f
ocal planes of a lens is used to compute the phase introduced by the l
ens. This represents a new way to create computer-generated optical el
ements. The phase change that takes place during the light propagation
between the computer-generated hologram and the image plane is taken
into consideration. Two examples that show different ways to plot the
synthetic lens are presented.