Manimlib animation examples manimlib
-
Install poetry
-
Install dependencies
MacOS: Install ffmpeg and mactex
brew install ffmpeg mactex
OPTIONAL: For MacOS cairo library might also be needed, so install it with brew:
brew install cairo
Linux (Ubuntu/Mint) Install cairo
sudo apt-get install libcairo2-dev
- Compile and run your project
cd habr_manim/
poetry install
poetry run python main.py
- main.py - entry point for the animation
- scenario.py - examples of different scenes with custom classes
- classes/*.py - custom classes of different objects (table, dot, graph, etc).