Documentation

Python scene-writing docs for Manim Web

Learn the authoring model, copy known-good patterns, and use the generated API reference when you need exact signatures and parameters.

Build-generated referenceGuides for scene authors
GuideGuides4 sections

Text, Audio, And Assets

These are the script-facing building blocks for readable labels and media-aware scenes: Text, Tex, MathTex, images, voiceovers, captions, and background audio.

Text Objects

Use Text for general labels, Tex and MathTex for LaTeX-style math and typeset expressions, and group them like any other mobject.

Image Assets

Use ImageMobject and SVGMobject for image-backed scenes. In practice, stable IDs and predictable asset naming make scripts easier to maintain than hardcoded ad hoc paths.

Voiceovers

Use VoiceoverScene or VoiceoverThreeDScene when narration is part of the timeline. The standard pattern is to define stable keys and use them in voiceover blocks.

class NarratedOrbitScene(VoiceoverThreeDScene):    def construct(self):        self.set_voiceovers({            "intro": {"text": "Reusable narration on top of ThreeDScene"},        })         with self.play_voiceover_block("intro"):            self.play(Create(Sphere(radius=1.2))) 

Background Audio

Use background audio blocks when you want a lower-priority bed under the main animation timeline. Keep IDs durable and descriptive so scene code stays understandable.