Loading...
Loading...
Create mathematical animations with Manim Community Edition(manimce). Generates distinctive, production-grade animations that avoid generic "AI slop" aesthetics. Use when user wants to animate concepts, equations, illustrate proofs, visualize algorithms, create math explainers, or produce 3Blue1Brown-style videos.
npx skill4agent add yusuke710/manim-skill manim-skill<project-name>/
├── plan.md # Planning document (Phase 1)
├── script.py # Manim code (Phase 2)
├── concat.txt # ffmpeg scene list (Phase 3)
├── final.mp4 # Stitched output (Phase 3)
└── media/ # Auto-generated by manim
└── videos/
└── script/
└── 480p15/ # or 1080p60
├── Scene1_Name.mp4
├── Scene2_Name.mp4
└── ...mkdir -p <project-name> && cd <project-name>Plan → Code → Render → Iterateplan.mdplan.md# [Video Title]
## Overview
- **Topic**: [Core concept]
- **Hook**: [Opening question/mystery]
- **Target Audience**: [Prerequisites]
- **Estimated Length**: [X minutes]
- **Key Insight**: [The "aha moment"]
- **Resolution**: [480p(default), 1080p]
- **Aspect Ratio**: [16:9(default) / 9:16 / 1:1]
## Narrative Arc
[2-3 sentences describing the journey from confusion to understanding]
---
## Scene 1: [Scene Name]
**Duration**: ~X seconds
**Purpose**: [What this scene accomplishes]
### Visual Elements
- [List of mobjects needed]
- [Animations to use]
- [Camera movements]
### Content
[Detailed description of what happens, what's shown, what's explained]
### Voiceover
- **Text**: "[Exact script or key points]"
- **Sync Points**: "[phrase]" → syncs with [animation]
### Technical Notes
- [Specific Manim classes/methods to use]
- [Any tricky implementations to note]
---
## Scene 2: [Scene Name]
...
---
## Transitions & Flow
[Notes on how scenes connect, recurring visual motifs]
## Shared Elements
- [Recurring mobjects across scenes, e.g., "coordinate axes reappear in scenes 2, 4, 6"]
- [Visual motifs, e.g., "blue highlight for key terms"]
## Color Palette
- Primary: [color] - used for [purpose]
- Secondary: [color] - used for [purpose]
- Accent: [color] - used for [purpose]
- Background: [color]
manimce-best-practicesrules/scenes.mdrules/animations.mdscript.pyScene1_IntroductionScene2_DerivePDEadd_subcaption().srtfrom manim import *
## Scene1_Introduction
class Scene1_Introduction(Scene):
def construct(self):
## Scene1_Introduction.title
title = Text("My Topic", font_size=48, color=BLUE)
self.add_subcaption("Introducing our topic", duration=2)
self.play(Write(title))
self.wait(1)
## Scene1_Introduction.fadeout
self.play(FadeOut(title), subcaption="Let's begin", subcaption_duration=1)manimmanim -q<quality> [--media_dir <output_dir>] <script.py> Scene1 Scene2 Scene3 ...-ql-qh/media/videos/<script_name>/<quality>/SceneName.mp4/media# Create concat list (run from project folder)
cat > concat.txt << 'EOF'
file 'media/videos/script/480p15/Scene1_Intro.mp4'
file 'media/videos/script/480p15/Scene2_Main.mp4'
file 'media/videos/script/480p15/Scene3_Conclusion.mp4'
EOF
# Combine videos
ffmpeg -y -f concat -safe 0 -i concat.txt -c copy final.mp4final.mp4script.pyconcat.txtpython3 ../tools/video_viewer.py final.mp4 --order concat.txt [--script script.py]--order--script