Skip to main content
Physics Fundamentals

Optics
Puzzle

Place mirrors, prisms and lenses to redirect laser beams.
Real ray tracing. 8 levels.

Tap to begin
🔭 Optics Physics Game

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)

n₁·sinθ₁ = n₂·sinθ₂

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

1/f = 1/v − 1/u

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

θ_c = arcsin(n₂/n₁)

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.