Animating a spring pendulum

Hello,
I have been working on a mini-project; to solve a second-order coupled differential equation of a spring pendulum and to animate the swing of the pendulum. I have managed to solve the two coupled differential equations with the extension and angle theta as the variables.
This means the solutions are in polar coordinates and not cartesian coordinates. Any advice on how I can go about the animation part? I’m quite new to animations.

This post has a nice pendulum animation.

1 Like

Check out this tutorial as well