he swung back and forth like a pendulum , and , looking down , he could see his shadow cut through the circle of sun in a rhythmic pattern , the moving blemish in the yellow sphere growing smaller as he rose higher .