adding 3d pendulum demo