manimgl-best-practices
Installation
Summary
ManimGL best practices and patterns for 3Blue1Brown's OpenGL-based animation engine.
- Covers InteractiveScene, Tex with LaTeX rendering, camera frame control, and 3D scene setup with lighting and surfaces
- Interactive development workflow with
-seflag for checkpoint-based iteration andself.embed()for debugging - Comprehensive rule files for animations, mobjects, text styling, colors, 3D rendering, and CLI configuration
- Includes working examples and scene templates for basic 2D, mathematical visualizations, 3D scenes, and graph plotting
- Key differences from Manim Community Edition: uses
manimglCLI,ShowCreationinstead ofCreate,self.framefor camera control
SKILL.md
How to use
Read individual rule files for detailed explanations and code examples:
Core Concepts
- rules/scenes.md - InteractiveScene, Scene types, and construct method
- rules/mobjects.md - Mobject types, VMobject, Groups, and positioning
- rules/animations.md - Animation classes, playing animations, and timing
Creation & Transformation
- rules/creation-animations.md - ShowCreation, Write, FadeIn, DrawBorderThenFill
- rules/transform-animations.md - Transform, ReplacementTransform, TransformMatchingTex
- rules/animation-groups.md - LaggedStart, Succession, AnimationGroup
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
Related skills