manim-video
Skill này làm gì
Skill này hướng dẫn tạo hoạt ảnh giáo dục bằng thư viện Manim. Nó dành cho việc giải thích toán học, thuật toán và các ý tưởng kỹ thuật bằng hình ảnh.
Khi nào nên dùng
- ✓Khi bạn muốn một lời giải thích toán học có hoạt ảnh hoặc một phép suy ra công thức.
- ✓Khi bạn muốn giải thích một thuật toán hoặc kiến trúc bằng một hướng dẫn trực quan.
- ✓Khi bạn muốn một video giải thích theo phong cách kênh của một giáo viên toán.
Liên kết skill
https://github.com/browser-use/video-use/blob/main/skills/manim-video/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Làm một hoạt ảnh giải thích ngắn về cách định lý Pythagoras hoạt động, với sơ đồ hiện trước và công thức hiện sau.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent lập một câu chuyện giảng dạy rõ ràng trước khi viết mã, rồi dựng các cảnh bằng thư viện Manim. Nó hướng tới việc video đúng ngay lần render đầu tiên, có các khoảng dừng để người xem theo kịp.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Manim Video Production Pipeline
Creative Standard
This is educational cinema. Every frame teaches. Every animation reveals structure.
Before writing a single line of code, articulate the narrative arc. What misconception does this correct? What is the "aha moment"? What visual story takes the viewer from confusion to understanding? The user's prompt is a starting point — interpret it with pedagogical ambition.
Geometry before algebra. Show the shape first, the equation second. Visual memory encodes faster than symbolic memory. When the viewer sees the geometric pattern before the formula, the equation feels earned.
First-render excellence is non-negotiable. The output must be visually clear and aesthetically cohesive without revision rounds. If something looks cluttered, poorly timed, or like "AI-generated slides," it is wrong.
Opacity layering directs attention. Never show everything at full brightness. Primary elements at 1.0, contextual elements at 0.4, structural elements (axes, grids) at 0.15. The brain processes visual salience in layers.
Breathing room. Every animation needs self.wait() after it. The viewer needs time to absorb what just appeared. Never rush from one animation to the next. A 2-second pause after a key reveal is never wasted.
Cohesive visual language. All scenes share a color palette, consistent typography sizing, matching animation speeds. A technically correct video where every scene uses random different colors is an aesthetic failure.
Prerequisites
Run scripts/setup.sh to verify all dependencies. Requires: Python 3.10+, Manim Community Edition v0.20+ (pip install manim), LaTeX (texlive-full on Linux, mactex on macOS), and ffmpeg. Reference docs tested against Manim CE v0.20.1.
Modes
| Mode | Input | Output | Reference |
|---|---|---|---|
| Concept explainer | Topic/concept | Animated explanation with geometric intuition | references/scene-planning.md |
| Equation derivation | Math expressions | Step-by-step animated proof | references/equations.md |
| Algorithm visualization | Algorithm description | Step-by-step execution with data structures | references/graphs-and-data.md |
| Data story | Data/metrics | Animated charts, comparisons, counters | references/graphs-and-data.md |
| Architecture diagram | System description | Components building up with connections | references/mobjects.md |
| Paper explainer | Research paper | Key findings and methods animated | references/scene-planning.md |
| 3D visualization | 3D concept | Rotating surfaces, parametric curves, spatial geometry | references/camera-and-3d.md |
Stack
Single Python script per project. No browser, no Node.js, no GPU required.
| Layer | Tool | Purpose |
|---|---|---|
| Core | Manim Community Edition | Scene rendering, animation engine |
| Math | LaTeX (texlive/MiKTeX) | Equation rendering via MathTex |
| Video I/O | ffmpeg | Scene stitching, format conversion, audio muxing |
| TTS | ElevenLabs / Qwen3-TTS (optional) | Narration voiceover |
Pipeline
PLAN --> CODE --> RENDER --> STITCH --> AUDIO (optional) --> REVIEW
- PLAN — Write
plan.mdwith narrative arc, scene list, visual elements, color palette, voiceover script - CODE — Write
script.pywith one class per scene, each independently renderable - RENDER —
manim -ql script.py Scene1 Scene2 ...for draft,-qhfor production - STITCH — ffmpeg concat of scene clips into
final.mp4 - AUDIO (optional) — Add voiceover and/or background music via ffmpeg. See
references/rendering.md - REVIEW — Render preview stills, verify against plan, adjust
Project Structure
project-name/
plan.md # Narrative arc, scene breakdown
script.py # All scenes in one file
concat.txt # ffmpeg scene list
final.mp4 # Stitched output
media/ # Auto-generated by Manim
videos/script/480p15/
Creative Direction
Color Palettes
| Palette | Background | Primary | Secondary | Accent | Use case |
|---|---|---|---|---|---|
| Classic 3B1B | #1C1C1C |
#58C4DD (BLUE) |
#83C167 (GREEN) |
#FFFF00 (YELLOW) |
General math/CS |
| Warm academic | #2D2B55 |
#FF6B6B |
#FFD93D |
#6BCB77 |
Approachable |
| Neon tech | #0A0A0A |
#00F5FF |
#FF00FF |
#39FF14 |
Systems, |
Câu hỏi thường gặp
Tôi có cần biết Manim trước không?
Không. Agent viết mã hoạt ảnh, nhưng bạn cần cài Python và Manim để render.
Những chủ đề nào phù hợp?
Toán học, thuật toán, phép suy ra công thức, sơ đồ kiến trúc và các câu chuyện dữ liệu.
Nó có hiện công thức trước không?
Hướng dẫn là hiện hình dạng trước và phương trình sau, để công thức dễ theo dõi hơn.
Chi tiết
Mô tả gốc của tác giả
Production pipeline for mathematical and technical animations using Manim Community Edition. Creates 3Blue1Brown-style explainer videos, algorithm visualizations, equation derivations, architecture diagrams, and data stories. Use when users request: animated explanations, math animations, concept visualizations, algorithm walkthroughs, technical explainers, 3Blue1Brown style videos, or any programmatic animation with geometric/mathematical content.
repo: browser-use/video-use
Độ phổ biến
- Sao GitHub
- 30k
- Vị trí xếp hạng
- #9337
- Giấy phép
- MIT
- Cập nhật
- 8/10/2026
Bình luận
- …
Thêm skill từ kho mã này
Skill tương tự
blender-motion-state-inspection
280kCho phép kiểm tra chi tiết trong hoạt ảnh 3D. Hữu ích để kiểm tra tư thế, chuyển động và độ thẳng hàng của nhân vật trong hoạt ảnh.
manim-video
280kGiúp agent tạo video giải thích hoạt hình. Dùng Manim để tạo biểu đồ và sơ đồ rõ ràng cho các khái niệm kỹ thuật.
remotion-video-creation
280kHướng dẫn agent tạo video bằng React với thư viện Remotion. Bao gồm các thực hành tốt nhất về hoạt ảnh, âm thanh, phụ đề và các yếu tố hình ảnh khác.