pendulum_demo