Saltar al contenido
Skillpedia
Programación general75 mil · #2674

manimgl-best-practices

Qué hace

Esta skill ayuda a los desarrolladores a escribir código de animación de ManimGL, la versión de Manim con OpenGL. Es para programadores que quieren animaciones de matemáticas interactivas y de alta calidad en Python.

Cuándo usarla

  • ✓Cuando escribes código con la biblioteca ManimGL.
  • ✓Cuando quieres usar las herramientas de escenas interactivas de ManimGL.
  • ✓Cuando necesitas animar matemáticas, objetos 3D o movimientos de cámara con ManimGL.

Link de la skill

https://github.com/calesthio/OpenMontage/blob/main/.agents/skills/manimgl-best-practices/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/calesthio/OpenMontage/blob/main/.agents/skills/manimgl-best-practices/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

“Escribe una escena de ManimGL con una cámara interactiva que gire alrededor de una superficie 3D.”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

La skill ofrece reglas y ejemplos para escenas interactivas, formas, animaciones, texto en LaTeX, colores, estilos y control de cámara, para que tu agente pueda escribir código de ManimGL.

Contenido técnico (SKILL.md original)

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

How to use

Read individual rule files for detailed explanations and code examples:

Core Concepts

Creation & Transformation

Text & Math

  • rules/tex.md - Tex class, raw strings R"...", and LaTeX rendering
  • rules/text.md - Text mobjects, fonts, and styling
  • rules/t2c.md - tex_to_color_map (t2c) for coloring math expressions

Styling & Appearance

3D & Camera

  • rules/3d.md - 3D objects, surfaces, Sphere, Torus, parametric surfaces, lighting
  • rules/camera.md - frame.reorient(), Euler angles, fix_in_frame(), camera animations

Interactive Development

Configuration & CLI

  • rules/cli.md - manimgl command, flags (-w, -o, -se, -l, -h), rendering options
  • rules/config.md - custom_config.yml, directories, camera settings, quality presets

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 manimlib import *

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

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

        # Or animate
        self.play(ShowCreation(circle))  # Note: ShowCreation, not Create

        # Wait
        self.wait(1)

Render Command

# Render and preview
manimgl scene.py MyScene

# Interactive mode - drop into shell at line 15
manimgl scene.py MyScene -se 15

# Write to file
manimgl scene.py MyScene -w

# Low quality for testing
manimgl scene.py MyScene -l

Key Differences from ManimCE

Feature ManimGL (3b1b) Manim Community
Import from manimlib import * from manim import *
CLI manimgl manim
Math text Tex(R"\pi") MathTex(r"\pi")
Scene InteractiveScene Scene
Create anim ShowCreation Create
Camera self.frame self.camera.frame
Fix in frame mob.fix_in_frame() self.add_fixed_in_frame_mobjects(mob)
Package manimgl (PyPI) manim (PyPI)

Interactive Development Workflow

ManimGL's killer feature is interactive development:

# Start at line 20 with state preserved
manimgl scene.py MyScene -se 20

In interactive mode:

# Copy code to clipboard, then run:
checkpoint_paste()           # Run with animations
checkpoint_paste(skip
Preguntas frecuentes

¿En qué se diferencia ManimGL de Manim Community?

ManimGL es la versión con OpenGL que usa 3Blue1Brown y tiene funciones de desarrollo interactivo.

¿Cubre los movimientos de cámara en 3D?

Sí. Cubre objetos 3D y control de cámara, incluidos los ángulos de Euler.

¿Cubre texto y matemáticas?

Sí. Cubre LaTeX con Tex, texto simple y coloreado con un mapa de colores.

Detalles

Descripción original del autor

Trigger when: (1) User mentions "manimgl" or "ManimGL" or "3b1b manim", (2) Code contains `from manimlib import *`, (3) User runs `manimgl` CLI commands, (4) Working with InteractiveScene, self.frame, self.embed(), ShowCreation(), or ManimGL-specific patterns. Best practices for ManimGL (Grant Sanderson's 3Blue1Brown version) - OpenGL-based animation engine with interactive development. Covers InteractiveScene, Tex with t2c, camera frame control, interactive mode (-se flag), 3D rendering, and checkpoint_paste() workflow. NOT for Manim Community Edition (which uses `manim` imports and `manim` C

repo: calesthio/OpenMontage

Popularidad

Estrellas en GitHub
75 mil
Posición en el ranking
#2674
Licencia
AGPL-3.0
Actualizada
28/10/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas