Styling

Style ManimGL animations with colors, strokes, fills, opacity, and text formatting.

1|Updated Feb 11, 2026
One-click install
npx skills add https://github.com/JoaquinCampo/paper2video --skill styling-joaquincampo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Styling
Source: https://github.com/JoaquinCampo/paper2video/tree/main/skills/manimlib-animations/styling
Command: npx skills add https://github.com/JoaquinCampo/paper2video --skill styling-joaquincampo

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides comprehensive guidance on customizing the visual appearance of animations created with ManimGL, enabling users to control colors, strokes, fills, and other stylistic elements for professional-quality visuals.

Core Features & Use Cases

  • Color Management: Utilize predefined palettes, custom hex codes, and gradient fills.
  • Stroke and Fill Customization: Define outline and interior styles, including opacity and layering.
  • Text Styling: Control font, size, weight, and color for text and LaTeX elements.
  • 3D Styling: Apply shading and depth testing for three-dimensional objects.
  • Use Case: Adjust the default blue color of a circle to a specific shade of red and add a thick black outline to make it stand out against a complex background.

Quick Start

Apply a gradient of red, yellow, and green to a group of mobjects using the set_color_by_gradient method.

Frequently Asked Questions about Styling

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I customize colors and gradients for ManimGL animations?

Customize ManimGL animation colors by applying predefined palettes, custom hex codes, or the `set_color_by_gradient` method to generate gradient fills across mobjects. This provides fine-grained control over visual presentation.

What is the best way to add outlines and adjust opacity for ManimGL visuals?

Adjust ManimGL visuals by defining stroke properties for outlines and fill properties for interiors, including opacity and layering. This controls graphical element styling to make objects stand out against complex backgrounds.

Can I format text and LaTeX elements within ManimGL animations?

Yes, you can format text and LaTeX elements within ManimGL by controlling font, size, weight, and color. This text styling capability ensures professional-quality typographic presentation in animations.

Does ManimGL support 3D rendering attributes like shading and depth testing?

Yes, ManimGL supports 3D styling by applying shading and depth testing attributes to three-dimensional objects. This enables proper visual depth and realistic rendering for 3D mobjects in scenes.

Why do my ManimGL objects use default colors instead of my custom styles?

ManimGL objects use default colors when custom styles are not explicitly applied. Use methods like `set_color_by_gradient` or specify hex codes and stroke properties to override defaults and achieve your desired visual appearance.