Grant Sanderson uses Manim to reach seven million subscribers

Stop drawing shapes and start defining logic. Generic animation tools focus on moving pixels, but they lack the…

Hands typing code on a laptop with floating mathematical equations

Stop drawing shapes and start defining logic. Generic animation tools focus on moving pixels, but they lack the structural rigor required for true mathematical clarity. To communicate complex systems, you need a medium that treats equations as programmable objects. This guide will take you from configuring your Python environment to mastering the precise animation pacing required for clarity. You will learn to translate abstract equations into dynamic, programmable visual entities. By moving beyond manual dragging and toward algorithmic definition, you can ensure your visual narratives remain mathematically truthful. While the initial setup requires navigating Python and LaTeX dependencies, the payoff is a level of precision that standard software cannot replicate. Mastering this workflow allows you to animate the very progression of a proof, rather than just its final result. Manim is not just another animation tool; it is the only platform that enforces mathematical rigor through code. While generic software focuses on pixels, Manim focuses on logic. This distinction makes it superior for anyone seeking true educational clarity. Most people recognize the visual style of Grant Sanderson. His 3Blue1Brown channel has reached over seven million subscribers by using a tool that treats math as a first-class citizen. He did not just use a video editor; he used a library created by himself[1] to turn abstract concepts into visual stories. The success of his channel is a direct result of this approach. Standard tools like PowerPoint or After Effects force a creator to fight the software. In those programs, you manually move shapes to approximate an equation. You struggle to align a symbol with a curve. In Manim, the software handles the alignment by definition. Because the tool is built on Python and mathematical abstractions[3], the math is the foundation, not an afterthought. You do not draw a line; you define a function, and the code renders the line perfectly. The strongest advantage lies in the ability to animate a derivation rather than just a final result. Most visual editors are great at showing a finished state. They are terrible at showing the step-by-step logical progression of a proof. Manim allows you to program the transformation of one mathematical state into another. This allows you to show how a complex idea emerges from simpler parts. You are not just showing a static picture; you are animating the logic itself. This level of precision is impossible in tools that rely solely on manual, frame-by-frame dragging.

Setting Up Your Python Environment

Setting up Manim requires a deliberate departure from the convenience of modern app stores. You cannot simply click an icon to begin animating. Instead, you must configure a local environment using a terminal, which involves installing Python[1] and a LaTeX[3] distribution. This setup process is undeniably more difficult than downloading a standard piece of software. It introduces an initial layer of friction that can frustrate new users.

However, this friction is a feature, not a bug. The dependency on these specific tools ensures that your animations maintain professional-grade typography and computational accuracy. By integrating Python, LaTeX,[3] and various mathematical abstractions, the system guarantees a level of precision that generic editors cannot replicate. The complexity of the environment acts as a filter. It ensures that the person behind the screen is committed to the technical rigor required for high-quality mathematical storytelling.

While the learning curve for a terminal-based workflow is steeper than a GUI-based one, the long-term payoff is significant. Learning to navigate a command line is often less daunting than mastering the hundreds of nested menus found in complex video editing timelines. Once the environment is stable, the workflow becomes incredibly efficient. You move from writing a line of code to seeing a rendered object without the clutter of a heavy interface.

To test if your installation is successful, you can run a basic script. A simple "Hello World" in Manim does not just print text; it renders a mathematical object, such as a circle or a square, directly onto your screen. Seeing that first mathematical entity appear from a few lines of code provides immediate proof of the tool's value. This moment confirms that your environment is ready to transform abstract logic into visual reality. If you can render a single shape, you have already cleared the hardest hurdle in the entire process.

Translating Equations Into Visual Objects

In Manim, every mathematical entity is a programmable Python object. This is the fundamental shift from drawing shapes to defining properties. A vector, a function, or a complex graph is not just a collection of pixels. It is a digital entity with specific, manipulatable attributes. When you define a curve, you are not tracing a path; you are instructing the software to evaluate a mathematical relationship across a range of values.

This object-oriented approach makes complex animations precise. Consider the task of animating a derivative. In a standard visual editor, you might manually move a line to mimic a tangent. In Manim, you can write code that links the tangent line directly to the slope of the curve at any given point. As the point moves along the function, the line updates its angle automatically. This eliminates the human error and visual drift that plague manual animation. The math drives the movement, ensuring the visual remains a truthful representation of the underlying logic.

Precision extends to the symbols themselves through LaTeX integration[3]. Manim treats complex formulas as first-class citizens. It renders mathematical notation with professional-grade typography, ensuring that every subscript and integral sign is perfectly legible. Because the software handles the typesetting, the symbolic representation and the visual graph stay perfectly synchronized. There is no risk of a formula drifting away from the graph it describes.

Ultimately, this translation process serves as a rigorous check on the creator's own understanding. You cannot animate a concept in Manim if you cannot define it in code. The process of turning an equation into a set of instructions forces you to confront the mechanics of the math. This friction is a feature, not a bug. It ensures that the resulting animation is not just a pretty picture, but a mathematically sound simulation. If you can build the animation, you have likely mastered the logic.

No-code tools are undeniably more efficient for rapid mathematical visualization. If your goal is to plot a quick function or demonstrate a simple geometric intersection, platforms like Desmos or GeoGebra are superior. They require zero programming knowledge and offer instant gratification. You type an equation, and the graph appears. There is no environment to configure and no Python script to debug. For a teacher needing a quick visual during a live lecture, the speed of these tools is an unbeatable advantage.

However, these platforms hit a ceiling when the math requires a narrative. They are excellent for showing a result, but they struggle to show the journey. Because they rely on pre-defined interactive elements, they lack the deep narrative control and custom animation logic that Manim provides. You cannot easily program a complex, multi-step derivation where one symbol morphs into another across different coordinate systems. In a GUI-based tool, you are often limited to the sliders and transformations the developers provided. You are a user of their logic, not the architect of your own.

The strongest argument for no-code alternatives is the low barrier to entry. It is true that Manim requires a much higher initial investment in time and technical setup. But speed in creation does not equal clarity in communication. A fast animation that skips the logical steps of a proof is just a moving picture; it is not an educational tool. Manim’s perceived verbosity is actually its greatest strength. The extra effort required to write the code allows for precise pacing, specific emphasis, and a level of synchronization between symbols and shapes that no-code tools cannot match.

Choosing between these tools is a trade-off between immediacy and depth. If you need to show a student what a sine wave looks like right now, use Desmos. But if you are building a visual argument that relies on the precise, step-by-step evolution of a mathematical concept, the effort of coding is the only way to ensure the logic remains visible. The complexity of the code is what allows the complexity of the math to be understood.

Mastering Animation Logic and Pacing

True mathematical clarity depends on controlling how a viewer perceives time. While the underlying code ensures structural accuracy, the use of specific parameters like run_time and lag_ratio allows a creator to direct attention. You can use run_time to slow down a particularly dense derivation, giving the viewer space to process a complex step. Conversely, lag_ratio lets you stagger animations, such as making a series of vectors appear one after another rather than all at once. This prevents the visual overwhelm that often kills educational engagement.

Precision in timing is most critical when animating transformations where order matters. Consider a matrix transformation applied to a grid. If the rotation and scaling happen simultaneously, the viewer misses the intermediate state of the basis vectors. By manipulating the animation sequence, you can show the grid shearing first, then rotating. This step-by-step execution turns a sudden jump into a logical progression. The viewer sees the math happen, not just the result.

Effective storytelling also requires intentional camera work. Manim allows you to programmatically zoom into a specific coordinate or pan across a large function plot. This is not mere decoration. By focusing the frame on a single intersection point or a vanishing limit, you guide the viewer’s eyes to the exact location where the logic resides. You are essentially acting as a cinematographer for abstract space, deciding which details are foregrounded and which are relegated to the periphery.

This level of granular control transforms a static proof into a dynamic narrative. It moves the medium beyond simple illustration and into the realm of active simulation. When you can precisely dictate the pace of a derivation and the focus of the lens, you are no longer just showing a formula. You are choreographing the logic itself. This ability to manipulate the temporal and spatial dimensions of an equation is what ultimately turns a difficult concept into a visible, understandable story.

Grant Sanderson’s work remains the gold standard for this approach. His success with 3Blue1Brown stems from using a tool that allows him to think visually about abstract concepts. Because the software treats mathematical entities as primary objects, he can manipulate the very essence of the math. The animations are not mere decorations. They are the arguments themselves.

If you are a teacher or a content creator, choosing Manim is a long-term investment. The upfront cost is high. You must navigate Python environments, manage LaTeX dependencies, and learn to script your visual narrative. It is much harder than clicking an install button on a standard app. However, this initial friction pays dividends in clarity. The time you spend coding is time spent refining your pedagogical approach. You are trading immediate speed for unparalleled precision in how your students or viewers perceive the subject matter.

Ultimately, the tool serves as a mirror for your own understanding. The process of translating a proof into code forces a level of scrutiny that no other medium demands. If you cannot animate the logical steps of your argument, you likely do not understand the math well enough to teach it. Manim does not just help you show math; it helps you master it. Use it to turn your most difficult derivations into stories that cannot be misunderstood.

The process of translating a proof into code serves as a rigorous check on your own understanding. If you cannot animate the logical steps of your argument, you likely do not understand the math well enough to teach it. Use Manim to turn your most difficult derivations into stories that cannot be misunderstood.

Key sources

CONTINUE READING

More stories you might like

Based on this article and what's trending now.

In this article