This invention relates to a novel prescription lens (58), mainly suited for ophthalmic applications. The lens designer defines the macroscopic surfaces of the lens (59, 60) as desired. The
design process assumes that the location of the object (50), the lens (51), and the required image (53) are known. By using
Ray-tracing technique we calculate the microscopic normals to the lens that will form the required image. From those microscopic normals we calculate microscopic surface by a process of summation the slopes with
geometric pattern conditions. The final surface is not smooth but contains plenty of dense microscopic shapes that look like saw-teeth. That
rough surface enables the lens to have almost any desired shape and thickness.