The simplest wormhole geometry is given by the line element , see [2]. The parameter defines the size of the throat of the wormhole, and represents the proper length radius.

Light rays and objects in free motion in four-dimensional spacetimes follow lightlike or timelike geodesics. In general, these geodesics must be computed numerically. However, in the Morris–Thorne wormhole spacetime, there is an analytic solution of the geodesic equation in terms of elliptic integral functions. Because of the spherical symmetry and staticity of the metric, it suffices to consider geodesics in the hypersurface . This two-dimensional surface can be embedded in the three-dimensional Euclidean space. The corresponding embedding function reads with .

In this application, you can change the throat size , the initial position of the observer, and the initial angle of the geodesic with respect to the local reference frame of the observer.

A detailed discussion about analytic geodesics in the Morris–Thorne wormhole spacetime can be found in

[1] T. Müller, "Exact Geometric Optics in a Morris–Thorne Wormhole Spacetime," Physical Review D, 77(4) 2008. doi: 10.1103/PhysRevD.77.044043.

The original article is by

[2] M. S. Morris and K. S. Thorne, "Wormholes in Spacetime and Their Use for Interstellar Travel: A Tool for Teaching General Relativity," American Journal of Physics, 56(5), 1988 pp. 395–412.