-
Notifications
You must be signed in to change notification settings - Fork 0
FAQ
Gburi edited this page Dec 14, 2025
·
1 revision
Use preview quality:
manim -pql main.py SceneName # 480p, 15fpsmanim -pqh main.py SceneName # 1080p, 60fpsRemove the -p flag:
manim -qh main.py SceneNameChapterX/media/videos/main/1080p60/SceneName.mp4
Make sure you're running from the chapter directory:
cd Chapter1_BinarySearchVsLinearSearch
manim -pql main.py Chapter1AnimationInstall LaTeX:
- Ubuntu:
sudo apt install texlive-full - Mac:
brew install --cask mactex - Windows: Install MiKTeX
- Increase quality:
-qhinstead of-ql - Check CPU usage during render
- Close other applications
Edit config/colors.py in the chapter folder.
Edit config/animation_constants.py:
FAST = 0.4 # Increase for slower
NORMAL = 0.6
SLOW = 0.8- Add method to main class:
def _new_scene(self): - Call it in
construct():self._new_scene() - Add
self._clear()between scenes
Create individual scene class:
class MyScene(Chapter1Animation):
def construct(self):
self.camera.background_color = BACKGROUND_COLOR
self._scene_method()Then render:
manim -pql main.py MySceneAdd self.wait(5) to pause at specific points.
- Easier to test
- No Manim dependency
- Cleaner code
- Reusable across chapters