This is my first attempt to produce animated figures using TikZ and since I'm going to teach circuits, I want to start by reproducing the circuit in a previous post "How to make animation to show how the electric current flow works?" (please note that I'm talking about the last animated circuit in the post).
Now, I tried to run the provided code, and I got the below PDF file:
And then I read that I need to use the TeX files provided in GIF image in beamer presentation and the author said that if my OS is not Windows, then I have to adapt the Windows shell command to my macOS shell command.
Can anyone please advise me on how to do that to get the final results with any harm?
