Create a simulation environment for a N-pendulum. Example of use: env = Pendulum(N) env.reset() for i in range(1000): env.step(zero(env.nu)) env.render()