Move sliders for incident angle and refractive indices of two media. A live diagram shows incident, reflected, and refracted rays with normals and angle readouts updating instantly.