You can parametrize the sphere with two angles so that you get .

This is a map .

Assuming that you have coordinates for two given points on the unit sphere, you next parametrize the line segment connecting the points that lie in the rectangular area of the domain of these two parameters. This gives you the map .

Now a parametrization of the arc connecting a and b on the sphere is , I think.