Simulate a pendulum with circular motion. The pendulum is solved using a second-order approximation. Each point is then rotated using a rotation matrix.
All frames are saved independently to img_dir
, and then transformed to a gif.
Play around with the parameters for trippy effects!
Here is a sample output: