draw pendulum with a pivot point