Good day, I decided to simulate the harmonic oscillations of a mathematical pendulum in python3, through simple actions I received arrays of x and y coordinates of a body suspended by a thread, but I can’t deal with the graphic part, create the animation of the pendulum itself. I will be glad to any ideas.
The result of 2D, schematic, in the form of video, will be enough if I can run through the terminal on the linux. I looked at various libraries that could help me, even installed them, but I could not find anywhere an accessible guide on how to do this. In general, the idea is this: just fix one point of the line, and run the second along the array of coordinates.