Combining animation and python

I want to make a few videos that combing animation and the math library in python. Think of something like a video
showing the equation 3x - 2y = 12 (animation)
plotting the intercepts (python)
drawing the line (python)
showing the steps to get y = (3/2)x - 6 (animation)
showing the rise and run for the slope and the y-intercept in the graph (python)

I have used synfig for animation before so my questions are

  1. how to best integrate the two into one video
  2. is there a programming language that would work better for basic animation in terms of moving things around, changing font colors, fade in & fade out, etc.?
  3. more as I think of them

You can run Python scripts in Synfig.

Stranger

The ManimCommunity library is tailor made for demonstrating mathematical ideas. As used in the YouTube channel 3Blue1Brown. (Well a fork of.)

That was my inspiration.
Before I posted here, I tried to understand the library, cried a lot, gave up.
Maybe I should try again or look at Stranger’s link and both great ideas.

Have another go. Just chip away at it and do simple things. It always gets better. :smiley: