Light Refraction Simulation
Simulate the refraction of light from air to liquid, following Snell's Law (n₁sinθ₁ = n₂sinθ₂)
Physical Principles
When light passes from one medium to another, its speed changes, causing refraction. Refraction follows Snell's Law:
n₁sinθ₁ = n₂sinθ₂
Where:
- n₁ and n₂ are the refractive indices of the two media
- θ₁ is the angle of incidence (angle between the light ray and the normal)
- θ₂ is the angle of refraction (angle between the refracted ray and the normal)