Manim: an animation engine for precise programmatic animations
- Install
python
- Install
FFmpeg
to rendermanim
- Windows
- Download
FFmpeg
: https://ffmpeg.org/download.html#build-windows - Unzip and rename the folder to ffmpeg
- Move it into the root of C:/
- Run cmd as an administrator
- Set the PATH environment variable for ffmpeg:
setx /m PATH "C:/ffmpeg/bin;%PATH%"
- Restart cmd and to check whether
FFmpeg
is installed successfully:ffmpeg -version
- Download
- Reference here: https://www.geeksforgeeks.org/how-to-install-ffmpeg-on-windows/
- Notice
- FFmpeg : a cross-platform & open-source software utility to record, convert and stream video/autio files.
- NOT ffmpeg python package
- Windows
- Install
Tex Live
to runmanim
- Linux
sudo apt-get install texlive-latex-extra
- Windows
- Download install file here: https://tug.org/texlive/windows.html
- MUST run
install-tl-windows.exe
as an administrator- Notice: it can take long time!
- Linux
- Conda
-
conda create -n my-environment python=3.10 conda activate my-environment conda install -c conda-forge manim
-
manim -pql -i <file_name.py> <class_name>
- e.g.,
manim -pql gradient.py ConvexPlot
- e.g.,