Pendulum animation exercise