double pendulum notebook and gif