Manim's first meeting


Preface

This is an article recording manim. I installed the environment when I was in school (it’s hard to think about it now). Now I’m ready to play this cool manim at home during the holiday.
Among them, I recommend a small video on station B.
The essence of linear algebra.

3Blue1Brown’s personal space is really beautiful
Insert picture description here


1. Installation part

Because of the age of the installation, I can’t remember it clearly. I’m sorry you guys. The following is the Zhihu installation link that I referred to in the past. It’s very detailed, I hope I can help you.
3b1b/manim mathematical animation engine installation tutorial (2020-August)

Second, meet manim for the first time

1. Open Windows PowerShell

Press the [Shift] key on the desktop, then right-click the mouse, and click here to open the Powershell window.
Insert picture description here

2. Shell statement

After opening the Shell, I cd to the corresponding disk, and my document path is displayed as follows (the folder used should be the document shared by Zhihu, here you have to install Pycharm):
Insert picture description here

3. Compile and generate manim animation

Here I chose to compile the WarpSquare in example_scenes.py (that is, serial number 4), and then it shows success, and the media is stored in the media folder.
Insert picture description here
Insert picture description here

to sum up

I hope I can DIY a manim animation for more than ten seconds before the New Year. Interested friends are also welcome to discuss and exchange~

Guess you like

Origin blog.csdn.net/weixin_45734379/article/details/112274990