In the seventh tract of his book of optics, Alhazen described an apparatus for experimenting with various cases of refraction, in order to investigate the relations between the angle of incidence, the angle of refraction and the angle of deflection. This apparatus was a modified version of an apparatus used by Ptolemy for similar purpose.