In the wake of Interstellar's premiere, I recreated the wormhole renowned gravitational physicist Kip Thorne and the team at Double Negative designed for the movie. Wormholes are curved spacetime structures bridging two distant flat spacetime patches. I used two images provided in the team's publication for testing purposes to generate the image shown below. This required the numerical evaluation of the geodesic equation applied to the wormhole metric for each pixel in the image.
Coded in Mathematica.