Saltar al contenido
Skillpedia
Motion y animación33 mil · #9091

manim

Qué hace

Esta skill guía al agente de IA en la escritura de código de Manim para animaciones matemáticas. Está pensada para docentes, estudiantes y creadores de vídeos educativos de matemáticas.

Cuándo usarla

  • ✓Cuando quieres una explicación animada de una fórmula, de una gráfica o de una idea geométrica.
  • ✓Cuando necesitas ecuaciones en LaTeX animadas paso a paso en un vídeo.
  • ✓Cuando construyes un vídeo didáctico por escenas con sistemas de coordenadas y gráficas.

Link de la skill

https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/video/manim/SKILL.md

Cópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.

Cómo usar

La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.

Mensaje listo para pegar

Usa esta skill para ayudarme: https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/video/manim/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“¿Puedes hacer una animación corta de Manim que muestre cómo el área bajo una curva se convierte en una integral?”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

El agente escribe escenas de Python que colocan los objetos matemáticos en la pantalla y los animan, y luego renderiza el vídeo.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de GitHub.

Manim Community - Mathematical Animation Engine

Comprehensive skill set for creating mathematical animations using Manim Community, a Python framework for creating explanatory math videos programmatically, popularized by 3Blue1Brown.

When to use

Use this skill whenever you are dealing with Manim code to obtain domain-specific knowledge about:

  • Creating mathematical animations and visualizations
  • Building educational video content programmatically
  • Working with geometric shapes and transformations
  • Animating LaTeX equations and mathematical formulas
  • Creating graphs, charts, and coordinate systems
  • Implementing scene-based animation sequences
  • Rendering high-quality mathematical diagrams
  • Building explanatory visual content for teaching

Core Concepts

Manim allows you to create animations using:

  • Scenes: Canvas for your animations where you orchestrate mobjects
  • Mobjects: Mathematical objects that can be displayed (shapes, text, equations)
  • Animations: Transformations applied to mobjects (Write, Create, Transform, FadeIn)
  • Transforms: Morphing between different states of mobjects
  • LaTeX Integration: Native support for rendering mathematical notation
  • Python Simplicity: Use Python to programmatically specify animation behavior

Key Features

  • Precise mathematical object positioning and transformations
  • Native LaTeX rendering for equations and formulas
  • Extensive shape library (circles, rectangles, arrows, polygons)
  • Coordinate systems and function graphing
  • Boolean operations on geometric shapes
  • Camera controls and scene management
  • High-quality video rendering
  • IPython/Jupyter notebook integration
  • VS Code extension with live preview

How to use

Read individual rule files for detailed explanations and code examples:

Core Concepts

For additional topics including transforms, timing, shapes, coordinate systems, 3D animations, camera movement, and advanced features, refer to the comprehensive Manim Community documentation.

Quick Start Example

from manim import *

class SquareToCircle(Scene):
    def construct(self):
        # Create a square
        square = Square()
        square.set_fill(BLUE, opacity=0.5)

        # Create a circle
        circle = Circle()
        circle.set_fill(RED, opacity=0.5)

        # Animate square creation
        self.play(Create(square))
        self.wait(1)

        # Transform square into circle
        self.play(Transform(square, circle))
        self.wait(1)

        # Fade out
        self.play(FadeOut(square))

Render with: manim -pql script.py SquareToCircle

Best Practices

  1. Inherit from Scene - All animations should be in a class inheriting from Scene
  2. Use construct() method - Place all animation code inside the construct() method
  3. Think in layers - Add mobjects to the scene before animating them
  4. Use self.play() - Animate mobjects using self.play(Animation(...))
  5. Test with low quality - Use -ql flag for faster preview renders
  6. Leverage LaTeX - Use Tex() and MathTex() for mathematical notation
  7. Group related objects - Use VGroup to manage multiple mobjects together
  8. Preview frequently - Use -p flag to automatically open rendered videos

Command Line Usage

# Preview at low quality (fast)
manim -pql script.py SceneName

# Render at high quality
manim -pqh script.py SceneName

# Save last frame as image
manim -s script.py SceneName

# Render multiple scenes
manim script.py Scene1 Scene2

Resources

Preguntas frecuentes

¿Necesito saber Python?

Hace falta algo de Python, pero el agente escribe el código a partir de tu descripción.

¿Admite ecuaciones?

Sí. La skill cubre el renderizado de fórmulas matemáticas en LaTeX.

¿Es una biblioteca oficial?

La skill se refiere a Manim Community, la versión de código abierto del marco de trabajo.

Detalles

Descripción original del autor

Comprehensive guide for Manim Community - Python framework for creating mathematical animations and educational videos with programmatic control

repo: davila7/claude-code-templates

Popularidad

Estrellas en GitHub
33 mil
Posición en el ranking
#9091
Licencia
MIT
Actualizada
2/11/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas