I usually use Manim for creating mathematical animations for some
Mathematical courses I am writing. It’s a python library developed by the guy from 3b1b and it’s a joy to work with it.
It works well enough for animations.
There are two versions: 3b1b and the community edition. You will most likely prefer the community edition.
Here is the quickstart tutorial:
https://docs.manim.community/en/stable/tutorials/quickstart....