ManimLabsLoading workspace…
Browse documentation

How your project becomes Manim Python

The compiler's model: objects, timelines, and clustering.

Try it in editor
See how the pieces fit together
VISUAL WALKTHROUGH01 / 06
Scene.py
class MathScene(Scene):
def construct(self):
self.play(Create(circle))
# step 1
17%

Select a step: the scene changes with your progress.

01
STEP 1 / 6

Overview

Try it in editor

Your project is a single document: the objects in the scene, the animations on the timeline, the camera, and some settings. There's no hidden state anywhere else — the canvas you're looking at, the timeline, and the render are all just different views onto that one thing. When you press render, the editor turns it into an ordinary Manim scene in Python. Nothing guesses, and no model is involved: the same project always produces exactly the same scene. That predictability is the point of this page — once you know the handful of rules below, you can tell before you render roughly what you're going to get, and if something looks wrong you can open the code view and see why.