Skip to content
Gburi edited this page Dec 14, 2025 · 1 revision

Frequently Asked Questions

Rendering

Q: How do I render faster during development?

Use preview quality:

manim -pql main.py SceneName  # 480p, 15fps

Q: How do I render in HD?

manim -pqh main.py SceneName  # 1080p, 60fps

Q: How do I render without preview?

Remove the -p flag:

manim -qh main.py SceneName

Q: Where are output files?

ChapterX/media/videos/main/1080p60/SceneName.mp4

Errors

Q: "ModuleNotFoundError: No module named 'config'"

Make sure you're running from the chapter directory:

cd Chapter1_BinarySearchVsLinearSearch
manim -pql main.py Chapter1Animation

Q: "LaTeX not found"

Install LaTeX:

  • Ubuntu: sudo apt install texlive-full
  • Mac: brew install --cask mactex
  • Windows: Install MiKTeX

Q: Animation is choppy

  • Increase quality: -qh instead of -ql
  • Check CPU usage during render
  • Close other applications

Customization

Q: How do I change colors?

Edit config/colors.py in the chapter folder.

Q: How do I change animation speed?

Edit config/animation_constants.py:

FAST = 0.4   # Increase for slower
NORMAL = 0.6
SLOW = 0.8

Q: How do I add a new scene?

  1. Add method to main class: def _new_scene(self):
  2. Call it in construct(): self._new_scene()
  3. Add self._clear() between scenes

Development

Q: How do I render just one scene?

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 MyScene

Q: How do I debug animations?

Add self.wait(5) to pause at specific points.

Q: Why separate algorithm logic?

  • Easier to test
  • No Manim dependency
  • Cleaner code
  • Reusable across chapters