スネルの法則

屈折の法則: $n_1 \sin\theta_1 = n_2 \sin\theta_2$
このシミュレータでは空気の屈折率を1.0、ガラスを1.5として計算し、全反射(Total Internal Reflection)も再現しています。