Learn Manim in 30 Minutes (Quickstart) | QuantumSketch

Learn Manim in 30 minutes: install it, write your first Scene, animate a shape and an equation, and render. A copy-paste quickstart for total beginners.

By Shihab
2 min read

Learn the basics of Manim in 30 minutes: install it, grasp the three core ideas, write a Scene, and render a shape and an equation. That's the entire workflow you'll repeat forever.

Minute 0โ€“5: Install

python -m venv manim-env
source manim-env/bin/activate      # Windows: manim-env\Scripts\activate
pip install manim
manim checkhealth

Also need FFmpeg and LaTeX. Confirm with manim checkhealth. Platform guides: Windows, macOS.

Minute 5โ€“10: The three ideas

| Concept | Meaning | |---|---| | Mobject | A thing โ€” Circle(), Square(), MathTex() | | Scene | The canvas; logic goes in construct() | | Animation | A verb โ€” Create, Write, Transform |

More depth: Mobjects, Scenes & Animations Explained.

Minute 10โ€“20: Your first Scene

from manim import *

class FirstScene(Scene):
    def construct(self):
        circle = Circle()
        square = Square()
        self.play(Create(circle))      # draw a circle
        self.play(Transform(circle, square))  # morph to a square
        self.wait()

Render:

manim -pql first.py FirstScene

-pql = preview, quick, low quality (fast). See why -ql matters.

Minute 20โ€“30: Add an equation

class WithMath(Scene):
    def construct(self):
        eq = MathTex(r"e^{i\pi} + 1 = 0")
        self.play(Write(eq))
        self.wait()

Note the raw string r"..." โ€” skipping it causes a dvi error.

You're now dangerous

You can create objects and animate them โ€” that's 90% of Manim. Next: Python for Math Animation.

Or skip the code

Don't want to install anything? QuantumSketch generates and renders Manim from a prompt โ€” see Manim Without Code.

โ†’ quantumsketch.app


Written by Shihab Shahriar Antor ยท Shahriar Labs

FAQ

Q.Can I really learn the basics of Manim in 30 minutes?

Yes โ€” enough to render your own first animations. In 30 minutes you can install Manim, understand its three core ideas (Mobjects, Scenes, and Animations), write a Scene class, and render a shape transforming and an equation being written. That covers the workflow you'll repeat for every animation. Mastering advanced choreography, 3D scenes, and custom Mobjects takes longer, but the fundamentals are genuinely quick because Manim's structure is consistent: create objects, then play animations on them inside a Scene's construct method.

Q.What do I need installed before starting the Manim quickstart?

Three things plus Manim itself: Python 3.8 or newer, FFmpeg for encoding video, and a LaTeX distribution if you want to render equations. Install Python, then run pip install manim inside a virtual environment, add FFmpeg, and add a TeX distribution (MiKTeX, MacTeX, or TeX Live). Run manim checkhealth to confirm all three are detected before you start. If installation is a hurdle, you can skip it entirely and generate Manim animations from prompts with a cloud tool, then come back to learn the code later.

Tags:#manim#tutorial#python
S

Shihab Shahriar

AI Engineer & Founder of Shahriar Labs. Exploring the intersection of design, cognition, and machine learning.