Agent Skillsrohitg00/manim-video-generator › animation-composer

animation-composer

GitHub

用于编排复杂多部分动画的 Skill,通过场景图架构协调多个视觉元素、时间轴及转场效果。支持分幕结构、相机控制及顺序/并行组合模式,适用于 Manim 等多媒体动画创作。

skills/animation-composer/SKILL.md rohitg00/manim-video-generator

Trigger Scenarios

用户希望编排多元素场景 请求涉及组合多个视觉元素 需要基于幕的结构或转场 提到 scene, compose, combine, orchestrate

Install

npx skills add rohitg00/manim-video-generator --skill animation-composer -g -y
More Options

Use without installing

npx skills use rohitg00/manim-video-generator@animation-composer

指定 Agent (Claude Code)

npx skills add rohitg00/manim-video-generator --skill animation-composer -a claude-code -g -y

安装 repo 全部 skill

npx skills add rohitg00/manim-video-generator --all -g -y

预览 repo 内 skill

npx skills add rohitg00/manim-video-generator --list

SKILL.md

Frontmatter
{
    "name": "animation-composer",
    "author": "manim-video-generator",
    "license": "MIT",
    "version": "1.0.0",
    "description": "Scene composition and orchestration skill for creating complex multi-part animations.\n\n**Triggers when:**\n- User wants to compose multi-element scenes\n- Request involves combining multiple visual elements\n- Scene requires act-based structure or transitions\n- User mentions \"scene\", \"compose\", \"combine\", \"orchestrate\"\n\n**Capabilities:**\n- Scene graph construction with acts and transitions\n- Multi-object coordination and timing\n- Camera movements and focus control\n- Layered animation sequences\n"
}

Animation Composer Skill

The Animation Composer orchestrates complex multi-part animations by breaking them into logical acts, coordinating timing, and managing transitions between scenes.

Core Concepts

Scene Graph Architecture

SceneGraph
├── GlobalStyle (colors, fonts, camera)
├── Acts[]
│   ├── Mobjects[] (visual elements)
│   ├── Animations[] (transformations)
│   └── Transitions (fade, slide, zoom)
└── Timeline (duration, pacing)

Act Structure

Each animation is composed of one or more Acts:

  • Introduction Act: Set the stage, introduce key elements
  • Development Acts: Build complexity, show transformations
  • Conclusion Act: Summarize, highlight key takeaways

Rules

rules/scene-structure.md

Guidelines for structuring scenes with clear beginnings, middles, and ends.

rules/timing-coordination.md

Best practices for coordinating multiple animations and avoiding visual clutter.

rules/transitions.md

Smooth transitions between acts using fades, slides, and morphs.

rules/camera-control.md

Camera movements, zooms, and focus to guide viewer attention.

Templates

Basic Multi-Act Scene

from manim import *

class ComposedScene(Scene):
    def construct(self):
        # Act 1: Introduction
        title = Text("Introduction").scale(1.5)
        self.play(Write(title))
        self.wait(1)
        self.play(FadeOut(title))

        # Act 2: Main Content
        content = self.create_main_content()
        self.play(Create(content))
        self.animate_content(content)

        # Act 3: Conclusion
        self.play(FadeOut(content))
        conclusion = Text("Key Takeaway").scale(1.2)
        self.play(FadeIn(conclusion))

Camera-Controlled Scene

from manim import *

class CameraComposedScene(MovingCameraScene):
    def construct(self):
        # Create elements at different positions
        left_group = self.create_left_section().shift(LEFT * 4)
        right_group = self.create_right_section().shift(RIGHT * 4)

        # Act 1: Overview
        self.camera.frame.scale(2)
        self.add(left_group, right_group)
        self.wait()

        # Act 2: Focus on left
        self.play(self.camera.frame.animate.scale(0.5).move_to(left_group))
        self.animate_left(left_group)

        # Act 3: Focus on right
        self.play(self.camera.frame.animate.move_to(right_group))
        self.animate_right(right_group)

        # Act 4: Zoom out for conclusion
        self.play(self.camera.frame.animate.scale(2).move_to(ORIGIN))

Composition Patterns

Sequential Composition

Elements appear one after another in a logical sequence.

self.play(Create(element1))
self.play(Create(element2))
self.play(Create(element3))

Parallel Composition

Multiple elements animate simultaneously for visual impact.

self.play(
    Create(element1),
    Create(element2),
    Create(element3)
)

Staggered Composition

Elements appear with slight delays for a cascading effect.

self.play(LaggedStart(
    *[Create(e) for e in elements],
    lag_ratio=0.2
))

Hierarchical Composition

Parent-child relationships for grouped animations.

group = VGroup(child1, child2, child3)
self.play(Create(group))  # All children animate together

Best Practices

  1. Start simple, build complexity - Introduce elements gradually
  2. Use visual hierarchy - Important elements should be larger/brighter
  3. Maintain rhythm - Consistent timing creates professional feel
  4. Guide the eye - Use camera and highlights to direct attention
  5. End with impact - Conclusions should be memorable

Anti-Patterns to Avoid

  • Overwhelming the viewer with too many simultaneous elements
  • Inconsistent timing that feels jarring
  • Missing transitions between conceptually different sections
  • Ignoring visual hierarchy (everything same size/color)

Version History

  • 9c41982 Current 2026-08-20 13:08

Same Skill Collection

skills/math-visualizer/SKILL.md
skills/motion-graphics/SKILL.md
skills/visual-storyteller/SKILL.md

Metadata

Files
0
Version
9c41982
Hash
4dcecb88
Indexed
2026-08-20 13:08

- 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-29 20:49
浙ICP备14020137号-1 $방문자$