Optics Puzzle — Free Online Ray Tracing & Light Physics Game
Optics Puzzle uses a full recursive ray-tracing engine — every reflection, refraction and lens bending is computed using real physics equations. Place mirrors and prisms to navigate laser beams to their targets across 8 levels.
The physics behind the game
Law of reflection
The angle of reflection equals the angle of incidence, measured from the normal to the surface. This governs every mirror interaction in the game.
Snell's law (refraction)
When light crosses a boundary between media of different refractive indices, its direction changes. Glass has n ≈ 1.5, so light bends toward the normal on entry and away on exit.
Thin lens equation
A convex lens brings parallel rays to a focal point at distance f. A concave lens diverges them. The game models this by bending each ray toward or away from the focal point on intersection.
Total internal reflection
When light tries to exit a denser medium at an angle beyond the critical angle, it reflects completely — this is the principle behind optical fibres.