Stochastic rays: Presentation and applications