Manim
最近YouTubeで3Blue1Brownをを見る機会が増えた。3Blue1Brownをpythonで描けるということを次の記事で知った。
早速macOS big sur上にインストールしてた。以下メモ。
% conda create -n manim -c conda-forge python=3.8 % conda install -c conda-forge ffmpeg % mkdir manim && cd manim % git clone https://github.com/ManimCommunity/manim.git % cd manim % pip install . % cd .. % mkdir project && cd project
Manimのcommit-hashは0dccec95.
https://github.com/ManimCommunity/manimのUsageをexample.py
として保存。
% manim example.py SquareToCircle -p -ql
とすると、アニメーションが生成されてQuickTime Playerが開く。