# Ray relaying

Contributor: Stas Fainer

This is a simulation of ray relaying by a series of identical lenses with focal length $$f$$ and distance $$d$$ between consecutive lenses. A non-divergent ray trajectory is guaranteed if and only if $$d\leq 4f$$ (in the paraxial approximation).