本系列以大量实战讲解manim数学动画引擎。
文档编辑器推荐:Sublime Text
这里是一些manimCE版本的参考信息、网站:
manimCE文档:https://docs.manim.community/en/stable/index.html
latex在线编辑网站:https://www.latexlive.com/home##
GitHub的manimCE站点:https://github.com/ManimCommunity/manim
GitHub的manim站点:https://github.com/3b1b/manim
一些manim的博客:https://manim-web.hugos29.dev/examples
体验
如果你想轻度体验manim,不希望经历那里麻烦的安装步骤,可以在https://try.manim.community/中在线体验,不需要进行任何安装。
版本
manim目前有很多个版本,本系列笔记只安装community edition版本。
以下是各个版本的区别,简略介绍:
The three versions of Manim
There are currently three main versions of manim. They are as follows:
-
ManimCE: The community edition of manim. This is the version documented by this website, and is named manim on pip.
-
ManimGL: The current version of manim that is used by 3blue1brown. It supports OpenGL rendering and interactivity, and is named
manimgl
on pip. You can find documentation for it here. -
ManimCairo: The old version of manim originally used by 3blue1brown. It is not available on pip.
版本选择
如果想渲染3b1b近年来的视频(2020以后),那么最好使用ManimGL版本;
如果想渲染3b1b早期(2019年时期)的视频,那么可以选择ManimCairo版本;
如果是初学者,我推荐使用ManimGL版本,它稳定、更易于使用、拥有庞大的社区;
安装-windows篇-简略
需要安装:
python3.x https://www.python.org/downloads/
ffmpeg pip install python ffmpeg
MiKTex https://miktex.org/download
以上的每一个的安装都需要一定时间,新手来说大约需要2小时的流程,请耐心安装。
安装-macOS篇
我们推荐使用HomeBrew安装manim。macOS自带python环境,不用自己安装。
安装完HomeBrew后,疯狂执行一下命令即可。
brew install py3cairo ffmpeg
brew install cmake pango scipy
pip3 install manim
brew install --cask mactex-no-gui
原创文章,作者:wdmbts,如若转载,请注明出处:https://blog.ytso.com/273353.html