Skip to content
Skillpedia
General coding75k · #2673

manimce-best-practices

What it does

This skill helps developers write Manim Community Edition animation code correctly. It is for programmers who create math and science animations in Python.

When to use it

  • ✓When you are writing Python code with the Manim Community Edition library.
  • ✓When you need to animate math formulas, text, or shapes with Manim.
  • ✓When you are building a 3D scene in Manim and need the right camera and object rules.

Skill link

https://github.com/calesthio/OpenMontage/blob/main/.agents/skills/manimce-best-practices/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/calesthio/OpenMontage/blob/main/.agents/skills/manimce-best-practices/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Write a Manim scene that shows a square turning into a circle with a short text label.”

5 new skills a week. 1 minute to read.

How it works

The skill offers rules and examples for scenes, shapes, animations, LaTeX formulas, colors, and positioning, so your agent can write working Manim code.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

How to use

Read individual rule files for detailed explanations and code examples:

Core Concepts

Creation & Transformation

Text & Math

Styling & Appearance

Positioning & Layout

Coordinate Systems & Graphing

Animation Control

Configuration & CLI

Shapes & Geometry

  • rules/shapes.md - Circle, Square, Rectangle, Polygon, and geometric primitives
  • rules/lines.md - Line, Arrow, Vector, DashedLine, and connectors

Working Examples

Complete, tested example files demonstrating common patterns:

Scene Templates

Copy and modify these templates to start new projects:

Quick Reference

Basic Scene Structure

from manim import *

class MyScene(Scene):
    def construct(self):
        # Create mobjects
        circle = Circle()

        # Add to scene (static)
        self.add(circle)

        # Or animate
        self.play(Create(circle))

        # Wait
        self.wait(1)

Render Command

# Basic render with preview
manim -pql scene.py MyScene

# Quality flags: -ql (low), -qm (medium), -qh (high), -qk (4k)
manim -pqh scene.py MyScene

Key Differences from 3b1b/ManimGL

Feature Manim Community 3b1b/ManimGL
Import from manim import * from manimlib import *
CLI manim manimgl
Math text MathTex(r"\pi") Tex(R"\pi")
Scene Scene InteractiveScene
Package manim (PyPI) manimgl (PyPI)

Jupyter Notebook Support

Use the %%manim cell magic:

%%manim -qm MyScene
class MyScene(Scene):
    def construct(self):
        self.play(Create(Circle()))

Common Pitfalls to Avoid

  1. Version confusion
FAQ

What is Manim Community Edition?

It is a community-maintained Python library for making math and science animations.

Does it cover math formulas?

Yes. It covers LaTeX formulas with MathTex and how to color parts of them.

Does it cover 3D?

Yes. It covers 3D scenes and camera control.

Details

Original description by the author

Trigger when: (1) User mentions "manim" or "Manim Community" or "ManimCE", (2) Code contains `from manim import *`, (3) User runs `manim` CLI commands, (4) Working with Scene, MathTex, Create(), or ManimCE-specific classes. Best practices for Manim Community Edition - the community-maintained Python animation engine. Covers Scene structure, animations, LaTeX/MathTex, 3D with ThreeDScene, camera control, styling, and CLI usage. NOT for ManimGL/3b1b version (which uses `manimlib` imports and `manimgl` CLI).

repo: calesthio/OpenMontage

Popularity

GitHub stars
75k
Ranking position
#2673
License
AGPL-3.0
Updated
10/28/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills