study pendulumView tutuial