B, Hyderabad, India) Fermat principle This java applet let you visualize &quot;the path of a ray of light between two points is the path that minimizes the travel time&quot; (known as Fermat principle).