manimce-best-practices

Provides best practices and code patterns for Manim Community Edition animation development.

Updated Jul 16, 2026
One-click install
npx skills add https://github.com/X-manist/Cohmira --skill manimce-best-practices-x-manist
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: manimce-best-practices
Source: https://github.com/X-manist/Cohmira/tree/main/src/builtin-plugins/openmontage/.agents/skills/manimce-best-practices
Command: npx skills add https://github.com/X-manist/Cohmira --skill manimce-best-practices-x-manist

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires manim, and includes references (resource) components.

What problem does it solve? Writing mathematical animations with Manim Community Edition requires knowing dozens of APIs for scenes, mobjects, animations, LaTeX rendering, 3D camera control, and CLI rendering options, and outdated tutorials often mix in incompatible ManimGL syntax. ## Core Features & Use Cases - Comprehensive Rule References: Covers Scene structure, mobjects, creation and transform animations, MathTex/LaTeX, colors, positioning, axes, graphing, 3D surfaces, camera control, updaters, and CLI rendering flags. - Working Examples & Templates: Includes tested example files for basic animations, math visualization, updater patterns, graph plotting, and 3D visualization, plus copy-ready scene templates. - ManimCE vs ManimGL Disambiguation: Explicitly distinguishes from manim import * and the manim CLI from the 3b1b manimlib/manimgl variant to prevent version confusion. - Use Case: When asked to animate a calculus lesson showing a function plot with a tangent line and Riemann rectangles, the Skill supplies the correct Axes, plot, get_area, and get_riemann_rectangles patterns with proper render commands. ## Quick Start Create a Manim Community scene that plots y equals x squared on labeled axes and animates the curve being drawn, then give me the render command.

Frequently Asked Questions about manimce-best-practices

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a basic animation scene in Manim Community Edition?

Subclass Scene, implement the construct method, create mobjects like Circle or Text, and animate them with self.play(Create(circle)). Render it with the command manim -pql scene.py MyScene for a fast low-quality preview.

What is the difference between Manim Community and ManimGL?

Manim Community uses `from manim import *`, the `manim` CLI, and MathTex for equations, while 3b1b's ManimGL uses `from manimlib import *`, the `manimgl` CLI, and InteractiveScene. They are separate PyPI packages and are not interchangeable.

How do I render LaTeX equations in Manim?

Use MathTex for math expressions, such as MathTex(r"e^{i\pi} + 1 = 0"), and Tex for general LaTeX content. Animate them with Write, and color parts of formulas using set_color_by_tex or submobject indexing.

Does Manim support 3D animations and camera movement?

Yes, use ThreeDScene with set_camera_orientation(phi, theta) to position the camera, and add Sphere, Cube, Surface, or ThreeDAxes objects. Use move_camera for animated transitions or begin_ambient_camera_rotation for continuous rotation.

Why is the manim command not found after installation?

This usually means a PATH issue, especially on Windows. Run python -m manim instead, or verify the installation with manim checkhealth after installing via pip install manim.

How do I make animations play one after another or staggered?

Use Succession to play animations sequentially, AnimationGroup with a lag_ratio for controlled overlap, or LaggedStart for staggered effects like dots fading in one by one. Separate self.play calls also run sequentially.