Path of Light

Sketching with Math and Quasi Physics

Reflection

$${r=i-\frac{2i\cdot n}{\left\|n\right\|^2}n}$$

$${i}$$: vector of the ray to the surface, $${n}$$: normal of the surface, $${r}$$: vector of the reflected ray

Parabola

Parallel rays coming into a parabolic mirror converge at a single focal point

Refraction

Learn more

Scratchapixel 2.0

Random Mirrors

Learn more

Scratchapixel 2.0