trace of pendulum