Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def animate(t):
- global theta1
- global theta2
- global dt
- line.set_data(theta1[int(t)],theta2[int(t)])
- return (line,)
- #theta1, theta2 are all lists with the same size
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement