Agent skill · creative production · adithya-s-k

manimgl-best-practices

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` CLI).

Why this skill is useful

Provides specific best practices and patterns for using ManimGL that the AI wouldn't reliably generate on its own.

What it needs

Requires manimgl installed locally. About 4k tokens when loaded. Last updated 2026-01-23. 1,033 stars on the source repository.

What this skill does

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 - textocolormap (t2c) for coloring math expressions Styling & Appearance rules/colors.md - Color constants, gradients, RGB, hex, GLSL coloring rules/styling.md - Fill, stroke, opacity, backstroke, gloss, shadow 3D & Camera rules/3d.md - 3D objects, surfaces, Sphere, Torus, parametric surfaces, lighting rules/camera.md - frame.reorient(), Euler angles, fixinframe(), camera animations Interactive Development rules/interactive.md - Interactive mode with -se flag, checkpointpaste() rules/frame.md - self.frame, camera control, reorient, and zooming rules/embedding.md - self.embed() for IPython debugging, touch() mode Configuration & CLI rules/cli.md - manimgl command, flags (-w, -o, -se, -l, -h), rendering options rules/config.md - customconfig.yml, directories, camera settings, quality presets Working Examples Complete, tested example files demonstrating common patterns: examples/basicanimations.py - Basic shapes, text, and animations examples/mathvisualization.py - LaTeX equations and mathematical content examples/graphplotting.py - Axes, functions, and graphing examples/3dvisualization.py - 3D scenes with camera control and surfaces examples/updaterpatterns.py - Dynamic animations with updaters Scene Templates Copy and modify these templates to start new projects: templates …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills adithya-s-k/manimgl-best-practices

View the source on GitHub

Browse the @skills marketplace