Ellipsoid
This is again a flattened ellipsoid but here we show a typical geodesic with self-intersections. The geodesic oscillates in the horizontal direction and it is periodic.