Initializing Physics Engine...
SNELL'S LAW SIMULATOR
3D OPTICAL REFRACTION
📊 Physics Data
θᵢ (Incident)
30.0°
θₜ (Transmitted)
19.2°
θc (Critical)
41.1°
n₁ (Air)
1.00
Snell's Law (Vector Form)
T = ηI + (η cosθᵢ − cosθₜ) N
⚙️ Medium Controls
Refractive Index (n₂)
1.52
🔄 Update
↻ Reset
🔴 Incident Ray
Incident Angle
30°
Position X
-5.0
Position Y
3.0
🔴 Apply Ray
↻ Reset Ray
🌈 Ray Types
Incident Ray
Incoming light from air (n₁ = 1.0)
Refracted Ray
Light bending inside glass medium
Transmitted Ray
Light exiting back into air
Normal Vectors
Perpendicular to surfaces (⊥)