What this simulator teaches
Refraction follows one compact rule, but the geometry produces many familiar effects. The same Snell-law relationship explains why rays bend toward or away from the normal, why total internal reflection occurs, why objects under water look shallower, and why a prism separates colors.
Single-interface controls
Single interface — bending is measured from the normal
Four ideas behind refraction
Model assumptions & limits
The geometric ray paths assume homogeneous media and flat interfaces except for the prism faces. Refractive indices are treated as real numbers; absorption is not solved.