You can change the Direction and Angle of the Gradient. You can also customize the Gradient Stop. To change the color of the Gradient, click any of the Gradient Stops on the bar, click the Color ...
Plot a graph of sine of angle of incidence (y axis) against sine of angle of refraction. The gradient of this graph is the refractive index of the material of the semicircular block. So the ray ...