[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F5WVA7XGZHFQBMFJ8YCPQ9":3,"skill-same:01M7F5WVA7XGZHFQBMFJ8YCPQ9":128},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":38,"commitSha":39,"skillDirectory":40,"forksCount":14,"repositoryHtmlUrl":41,"repositoryHomepageUrl":6,"ownerHtmlUrl":42,"ownerBlogUrl":43,"ownerDescription":44,"updatedAt":45,"install":46,"resources":59},"01M7F5WVA7XGZHFQBMFJ8YCPQ9","manim-video",null,"Manim CE animations: 3Blue1Brown math\u002Falgo videos.","chaorenex1\u002Fhermes-home-content","chaorenex1","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F23194925?v=4","01M7F5NA1D1D02R2MEMYQN2NZT","chan chan","01M7F5NA20KTHMTY2015CYM1TZ",0,"MIT","https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content\u002Fblob\u002Fmain\u002Fskills\u002F.archive\u002Fmanim-video\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\r\nname: manim-video\r\ndescription: \"Manim CE animations: 3Blue1Brown math\u002Falgo videos.\"\r\nversion: 1.0.0\r\nauthor: SHL0MS, Hermes Agent\r\nlicense: MIT\r\nplatforms: [linux, macos, windows]\r\nmetadata:\r\n  hermes:\r\n    tags: [Manim, Animation, Math, Video]\r\n    related_skills: []\r\n---\r\n\r\n# Manim Video Production Pipeline\r\n\r\n## When to use\r\n\r\nUse when users request: animated explanations, math animations, concept visualizations, algorithm walkthroughs, technical explainers, 3Blue1Brown style videos, or any programmatic animation with geometric\u002Fmathematical content. Creates 3Blue1Brown-style explainer videos, algorithm visualizations, equation derivations, architecture diagrams, and data stories using Manim Community Edition.\r\n\r\n## Creative Standard\r\n\r\nThis is educational cinema. Every frame teaches. Every animation reveals structure.\r\n\r\n**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.\r\n\r\n**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.\r\n\r\n**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.\r\n\r\n**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.\r\n\r\n**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.\r\n\r\n**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.\r\n\r\n## Prerequisites\r\n\r\nRun `scripts\u002Fsetup.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.\r\n\r\n## Modes\r\n\r\n| Mode | Input | Output | Reference |\r\n|------|-------|--------|-----------|\r\n| **Concept explainer** | Topic\u002Fconcept | Animated explanation with geometric intuition | `references\u002Fscene-planning.md` |\r\n| **Equation derivation** | Math expressions | Step-by-step animated proof | `references\u002Fequations.md` |\r\n| **Algorithm visualization** | Algorithm description | Step-by-step execution with data structures | `references\u002Fgraphs-and-data.md` |\r\n| **Data story** | Data\u002Fmetrics | Animated charts, comparisons, counters | `references\u002Fgraphs-and-data.md` |\r\n| **Architecture diagram** | System description | Components building up with connections | `references\u002Fmobjects.md` |\r\n| **Paper explainer** | Research paper | Key findings and methods animated | `references\u002Fscene-planning.md` |\r\n| **3D visualization** | 3D concept | Rotating surfaces, parametric curves, spatial geometry | `references\u002Fcamera-and-3d.md` |\r\n\r\n## Stack\r\n\r\nSingle Python script per project. No browser, no Node.js, no GPU required.\r\n\r\n| Layer | Tool | Purpose |\r\n|-------|------|---------|\r\n| Core | Manim Community Edition | Scene rendering, animation engine |\r\n| Math | LaTeX (texlive\u002FMiKTeX) | Equation rendering via `MathTex` |\r\n| Video I\u002FO | ffmpeg | Scene stitching, format conversion, audio muxing |\r\n| TTS | ElevenLabs \u002F Qwen3-TTS (optional) | Narration voiceover |\r\n\r\n## Pipeline\r\n\r\n```\r\nPLAN --> CODE --> RENDER --> STITCH --> AUDIO (optional) --> REVIEW\r\n```\r\n\r\n1. **PLAN** — Write `plan.md` with narrative arc, scene list, visual elements, color palette, voiceover script\r\n2. **CODE** — Write `script.py` with one class per scene, each independently renderable\r\n3. **RENDER** — `manim -ql script.py Scene1 Scene2 ...` for draft, `-qh` for production\r\n4. **STITCH** — ffmpeg concat of scene clips into `final.mp4`\r\n5. **AUDIO** (optional) — Add voiceover and\u002For background music via ffmpeg. See `references\u002Frendering.md`\r\n6. **REVIEW** — Render preview stills, verify against plan, adjust\r\n\r\n## Project Structure\r\n\r\n```\r\nproject-name\u002F\r\n  plan.md                # Narrative arc, scene breakdown\r\n  script.py              # All scenes in one file\r\n  concat.txt             # ffmpeg scene list\r\n  final.mp4              # Stitched output\r\n  media\u002F                 # Auto-generated by Manim\r\n    videos\u002Fscript\u002F480p15\u002F\r\n```\r\n\r\n## Creative Direction\r\n\r\n### Color Palettes\r\n\r\n| Palette | Background | Primary | Secondary | Accent | Use case |\r\n|---------|-----------|---------|-----------|--------|----------|\r\n| **Classic 3B1B** | `#1C1C1C` | `#58C4DD` (BLUE) | `#83C167` (GREEN) | `#FFFF00` (YELLOW) | General math\u002FCS |\r\n| **Warm academic** | `#2D2B55` | `#FF6B6B` | `#FFD93D` | `#6BCB77` | Approachable |\r\n| **Neon tech** | `#0A0A0A` | `#00F5FF` | `#FF00FF` | `#39FF14` | Systems, architecture |\r\n| **Monochrome** | `#1A1A2E` | `#EAEAEA` | `#888888` | `#FFFFFF` | Minimalist |\r\n\r\n### Animation Speed\r\n\r\n| Context | run_time | self.wait() after |\r\n|---------|----------|-------------------|\r\n| Title\u002Fintro appear | 1.5s | 1.0s |\r\n| Key equation reveal | 2.0s | 2.0s |\r\n| Transform\u002Fmorph | 1.5s | 1.5s |\r\n| Supporting label | 0.8s | 0.5s |\r\n| FadeOut cleanup | 0.5s | 0.3s |\r\n| \"Aha moment\" reveal | 2.5s | 3.0s |\r\n\r\n### Typography Scale\r\n\r\n| Role | Font size | Usage |\r\n|------|-----------|-------|\r\n| Title | 48 | Scene titles, opening text |\r\n| Heading | 36 | Section headers within a scene |\r\n| Body | 30 | Explanatory text |\r\n| Label | 24 | Annotations, axis labels |\r\n| Caption | 20 | Subtitles, fine print |\r\n\r\n### Fonts\r\n\r\n**Use monospace fonts for all text.** Manim's Pango renderer produces broken kerning with proportional fonts at all sizes. See `references\u002Fvisual-design.md` for full recommendations.\r\n\r\n```python\r\nMONO = \"Menlo\"  # define once at top of file\r\n\r\nText(\"Fourier Series\", font_size=48, font=MONO, weight=BOLD)  # titles\r\nText(\"n=1: sin(x)\", font_size=20, font=MONO)                  # labels\r\nMathTex(r\"\\nabla L\")                                            # math (uses LaTeX)\r\n```\r\n\r\nMinimum `font_size=18` for readability.\r\n\r\n### Per-Scene Variation\r\n\r\nNever use identical config for all scenes. For each scene:\r\n- **Different dominant color** from the palette\r\n- **Different layout** — don't always center everything\r\n- **Different animation entry** — vary between Write, FadeIn, GrowFromCenter, Create\r\n- **Different visual weight** — some scenes dense, others sparse\r\n\r\n## Workflow\r\n\r\n### Step 1: Plan (plan.md)\r\n\r\nBefore any code, write `plan.md`. See `references\u002Fscene-planning.md` for the comprehensive template.\r\n\r\n### Step 2: Code (script.py)\r\n\r\nOne class per scene. Every scene is independently renderable.\r\n\r\n```python\r\nfrom manim import *\r\n\r\nBG = \"#1C1C1C\"\r\nPRIMARY = \"#58C4DD\"\r\nSECONDARY = \"#83C167\"\r\nACCENT = \"#FFFF00\"\r\nMONO = \"Menlo\"\r\n\r\nclass Scene1_Introduction(Scene):\r\n    def construct(self):\r\n        self.camera.background_color = BG\r\n        title = Text(\"Why Does This Work?\", font_size=48, color=PRIMARY, weight=BOLD, font=MONO)\r\n        self.add_subcaption(\"Why does this work?\", duration=2)\r\n        self.play(Write(title), run_time=1.5)\r\n        self.wait(1.0)\r\n        self.play(FadeOut(title), run_time=0.5)\r\n```\r\n\r\nKey patterns:\r\n- **Subtitles** on every animation: `self.add_subcaption(\"text\", duration=N)` or `subcaption=\"text\"` on `self.play()`\r\n- **Shared color constants** at file top for cross-scene consistency\r\n- **`self.camera.background_color`** set in every scene\r\n- **Clean exits** — FadeOut all mobjects at scene end: `self.play(FadeOut(Group(*self.mobjects)))`\r\n\r\n### Step 3: Render\r\n\r\n```bash\r\nmanim -ql script.py Scene1_Introduction Scene2_CoreConcept  # draft\r\nmanim -qh script.py Scene1_Introduction Scene2_CoreConcept  # production\r\n```\r\n\r\n### Step 4: Stitch\r\n\r\n```bash\r\ncat > concat.txt \u003C\u003C 'EOF'\r\nfile 'media\u002Fvideos\u002Fscript\u002F480p15\u002FScene1_Introduction.mp4'\r\nfile 'media\u002Fvideos\u002Fscript\u002F480p15\u002FScene2_CoreConcept.mp4'\r\nEOF\r\nffmpeg -y -f concat -safe 0 -i concat.txt -c copy final.mp4\r\n```\r\n\r\n### Step 5: Review\r\n\r\n```bash\r\nmanim -ql --format=png -s script.py Scene2_CoreConcept  # preview still\r\n```\r\n\r\n## Critical Implementation Notes\r\n\r\n### Raw Strings for LaTeX\r\n```python\r\n# WRONG: MathTex(\"\\frac{1}{2}\")\r\n# RIGHT:\r\nMathTex(r\"\\frac{1}{2}\")\r\n```\r\n\r\n### buff >= 0.5 for Edge Text\r\n```python\r\nlabel.to_edge(DOWN, buff=0.5)  # never \u003C 0.5\r\n```\r\n\r\n### FadeOut Before Replacing Text\r\n```python\r\nself.play(ReplacementTransform(note1, note2))  # not Write(note2) on top\r\n```\r\n\r\n### Never Animate Non-Added Mobjects\r\n```python\r\nself.play(Create(circle))  # must add first\r\nself.play(circle.animate.set_color(RED))  # then animate\r\n```\r\n\r\n## Performance Targets\r\n\r\n| Quality | Resolution | FPS | Speed |\r\n|---------|-----------|-----|-------|\r\n| `-ql` (draft) | 854x480 | 15 | 5-15s\u002Fscene |\r\n| `-qm` (medium) | 1280x720 | 30 | 15-60s\u002Fscene |\r\n| `-qh` (production) | 1920x1080 | 60 | 30-120s\u002Fscene |\r\n\r\nAlways iterate at `-ql`. Only render `-qh` for final output.\r\n\r\n## References\r\n\r\n| File | Contents |\r\n|------|----------|\r\n| `references\u002Fanimations.md` | Core animations, rate functions, composition, `.animate` syntax, timing patterns |\r\n| `references\u002Fmobjects.md` | Text, shapes, VGroup\u002FGroup, positioning, styling, custom mobjects |\r\n| `references\u002Fvisual-design.md` | 12 design principles, opacity layering, layout templates, color palettes |\r\n| `references\u002Fequations.md` | LaTeX in Manim, TransformMatchingTex, derivation patterns |\r\n| `references\u002Fgraphs-and-data.md` | Axes, plotting, BarChart, animated data, algorithm visualization |\r\n| `references\u002Fcamera-and-3d.md` | MovingCameraScene, ThreeDScene, 3D surfaces, camera control |\r\n| `references\u002Fscene-planning.md` | Narrative arcs, layout templates, scene transitions, planning template |\r\n| `references\u002Frendering.md` | CLI reference, quality presets, ffmpeg, voiceover workflow, GIF export |\r\n| `references\u002Ftroubleshooting.md` | LaTeX errors, animation errors, common mistakes, debugging |\r\n| `references\u002Fanimation-design-thinking.md` | When to animate vs show static, decomposition, pacing, narration sync |\r\n| `references\u002Fupdaters-and-trackers.md` | ValueTracker, add_updater, always_redraw, time-based updaters, patterns |\r\n| `references\u002Fpaper-explainer.md` | Turning research papers into animations — workflow, templates, domain patterns |\r\n| `references\u002Fdecorations.md` | SurroundingRectangle, Brace, arrows, DashedLine, Angle, annotation lifecycle |\r\n| `references\u002Fproduction-quality.md` | Pre-code, pre-render, post-render checklists, spatial layout, color, tempo |\r\n\r\n---\r\n\r\n## Creative Divergence (use only when user requests experimental\u002Fcreative\u002Funique output)\r\n\r\nIf the user asks for creative, experimental, or unconventional explanatory approaches, select a strategy and reason through it BEFORE designing the animation.\r\n\r\n- **SCAMPER** — when the user wants a fresh take on a standard explanation\r\n- **Assumption Reversal** — when the user wants to challenge how something is typically taught\r\n\r\n### SCAMPER Transformation\r\nTake a standard mathematical\u002Ftechnical visualization and transform it:\r\n- **Substitute**: replace the standard visual metaphor (number line → winding path, matrix → city grid)\r\n- **Combine**: merge two explanation approaches (algebraic + geometric simultaneously)\r\n- **Reverse**: derive backward — start from the result and deconstruct to axioms\r\n- **Modify**: exaggerate a parameter to show why it matters (10x the learning rate, 1000x the sample size)\r\n- **Eliminate**: remove all notation — explain purely through animation and spatial relationships\r\n\r\n### Assumption Reversal\r\n1. List what's \"standard\" about how this topic is visualized (left-to-right, 2D, discrete steps, formal notation)\r\n2. Pick the most fundamental assumption\r\n3. Reverse it (right-to-left derivation, 3D embedding of a 2D concept, continuous morphing instead of steps, zero notation)\r\n4. Explore what the reversal reveals that the standard approach hides\r\n","# Manim Video Production Pipeline\r\n\r\n## When to use\r\n\r\nUse when users request: animated explanations, math animations, concept visualizations, algorithm walkthroughs, technical explainers, 3Blue1Brown style videos, or any programmatic animation with geometric\u002Fmathematical content. Creates 3Blue1Brown-style explainer videos, algorithm visualizations, equation derivations, architecture diagrams, and data stories using Manim Community Edition.\r\n\r\n## Creative Standard\r\n\r\nThis is educational cinema. Every frame teaches. Every animation reveals structure.\r\n\r\n**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.\r\n\r\n**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.\r\n\r\n**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.\r\n\r\n**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.\r\n\r\n**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.\r\n\r\n**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.\r\n\r\n## Prerequisites\r\n\r\nRun `scripts\u002Fsetup.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.\r\n\r\n## Modes\r\n\r\n| Mode | Input | Output | Reference |\r\n|------|-------|--------|-----------|\r\n| **Concept explainer** | Topic\u002Fconcept | Animated explanation with geometric intuition | `references\u002Fscene-planning.md` |\r\n| **Equation derivation** | Math expressions | Step-by-step animated proof | `references\u002Fequations.md` |\r\n| **Algorithm visualization** | Algorithm description | Step-by-step execution with data structures | `references\u002Fgraphs-and-data.md` |\r\n| **Data story** | Data\u002Fmetrics | Animated charts, comparisons, counters | `references\u002Fgraphs-and-data.md` |\r\n| **Architecture diagram** | System description | Components building up with connections | `references\u002Fmobjects.md` |\r\n| **Paper explainer** | Research paper | Key findings and methods animated | `references\u002Fscene-planning.md` |\r\n| **3D visualization** | 3D concept | Rotating surfaces, parametric curves, spatial geometry | `references\u002Fcamera-and-3d.md` |\r\n\r\n## Stack\r\n\r\nSingle Python script per project. No browser, no Node.js, no GPU required.\r\n\r\n| Layer | Tool | Purpose |\r\n|-------|------|---------|\r\n| Core | Manim Community Edition | Scene rendering, animation engine |\r\n| Math | LaTeX (texlive\u002FMiKTeX) | Equation rendering via `MathTex` |\r\n| Video I\u002FO | ffmpeg | Scene stitching, format conversion, audio muxing |\r\n| TTS | ElevenLabs \u002F Qwen3-TTS (optional) | Narration voiceover |\r\n\r\n## Pipeline\r\n\r\n```\r\nPLAN --> CODE --> RENDER --> STITCH --> AUDIO (optional) --> REVIEW\r\n```\r\n\r\n1. **PLAN** — Write `plan.md` with narrative arc, scene list, visual elements, color palette, voiceover script\r\n2. **CODE** — Write `script.py` with one class per scene, each independently renderable\r\n3. **RENDER** — `manim -ql script.py Scene1 Scene2 ...` for draft, `-qh` for production\r\n4. **STITCH** — ffmpeg concat of scene clips into `final.mp4`\r\n5. **AUDIO** (optional) — Add voiceover and\u002For background music via ffmpeg. See `references\u002Frendering.md`\r\n6. **REVIEW** — Render preview stills, verify against plan, adjust\r\n\r\n## Project Structure\r\n\r\n```\r\nproject-name\u002F\r\n  plan.md                # Narrative arc, scene breakdown\r\n  script.py              # All scenes in one file\r\n  concat.txt             # ffmpeg scene list\r\n  final.mp4              # Stitched output\r\n  media\u002F                 # Auto-generated by Manim\r\n    videos\u002Fscript\u002F480p15\u002F\r\n```\r\n\r\n## Creative Direction\r\n\r\n### Color Palettes\r\n\r\n| Palette | Background | Primary | Secondary | Accent | Use case |\r\n|---------|-----------|---------|-----------|--------|----------|\r\n| **Classic 3B1B** | `#1C1C1C` | `#58C4DD` (BLUE) | `#83C167` (GREEN) | `#FFFF00` (YELLOW) | General math\u002FCS |\r\n| **Warm academic** | `#2D2B55` | `#FF6B6B` | `#FFD93D` | `#6BCB77` | Approachable |\r\n| **Neon tech** | `#0A0A0A` | `#00F5FF` | `#FF00FF` | `#39FF14` | Systems, architecture |\r\n| **Monochrome** | `#1A1A2E` | `#EAEAEA` | `#888888` | `#FFFFFF` | Minimalist |\r\n\r\n### Animation Speed\r\n\r\n| Context | run_time | self.wait() after |\r\n|---------|----------|-------------------|\r\n| Title\u002Fintro appear | 1.5s | 1.0s |\r\n| Key equation reveal | 2.0s | 2.0s |\r\n| Transform\u002Fmorph | 1.5s | 1.5s |\r\n| Supporting label | 0.8s | 0.5s |\r\n| FadeOut cleanup | 0.5s | 0.3s |\r\n| \"Aha moment\" reveal | 2.5s | 3.0s |\r\n\r\n### Typography Scale\r\n\r\n| Role | Font size | Usage |\r\n|------|-----------|-------|\r\n| Title | 48 | Scene titles, opening text |\r\n| Heading | 36 | Section headers within a scene |\r\n| Body | 30 | Explanatory text |\r\n| Label | 24 | Annotations, axis labels |\r\n| Caption | 20 | Subtitles, fine print |\r\n\r\n### Fonts\r\n\r\n**Use monospace fonts for all text.** Manim's Pango renderer produces broken kerning with proportional fonts at all sizes. See `references\u002Fvisual-design.md` for full recommendations.\r\n\r\n```python\r\nMONO = \"Menlo\"  # define once at top of file\r\n\r\nText(\"Fourier Series\", font_size=48, font=MONO, weight=BOLD)  # titles\r\nText(\"n=1: sin(x)\", font_size=20, font=MONO)                  # labels\r\nMathTex(r\"\\nabla L\")                                            # math (uses LaTeX)\r\n```\r\n\r\nMinimum `font_size=18` for readability.\r\n\r\n### Per-Scene Variation\r\n\r\nNever use identical config for all scenes. For each scene:\r\n- **Different dominant color** from the palette\r\n- **Different layout** — don't always center everything\r\n- **Different animation entry** — vary between Write, FadeIn, GrowFromCenter, Create\r\n- **Different visual weight** — some scenes dense, others sparse\r\n\r\n## Workflow\r\n\r\n### Step 1: Plan (plan.md)\r\n\r\nBefore any code, write `plan.md`. See `references\u002Fscene-planning.md` for the comprehensive template.\r\n\r\n### Step 2: Code (script.py)\r\n\r\nOne class per scene. Every scene is independently renderable.\r\n\r\n```python\r\nfrom manim import *\r\n\r\nBG = \"#1C1C1C\"\r\nPRIMARY = \"#58C4DD\"\r\nSECONDARY = \"#83C167\"\r\nACCENT = \"#FFFF00\"\r\nMONO = \"Menlo\"\r\n\r\nclass Scene1_Introduction(Scene):\r\n    def construct(self):\r\n        self.camera.background_color = BG\r\n        title = Text(\"Why Does This Work?\", font_size=48, color=PRIMARY, weight=BOLD, font=MONO)\r\n        self.add_subcaption(\"Why does this work?\", duration=2)\r\n        self.play(Write(title), run_time=1.5)\r\n        self.wait(1.0)\r\n        self.play(FadeOut(title), run_time=0.5)\r\n```\r\n\r\nKey patterns:\r\n- **Subtitles** on every animation: `self.add_subcaption(\"text\", duration=N)` or `subcaption=\"text\"` on `self.play()`\r\n- **Shared color constants** at file top for cross-scene consistency\r\n- **`self.camera.background_color`** set in every scene\r\n- **Clean exits** — FadeOut all mobjects at scene end: `self.play(FadeOut(Group(*self.mobjects)))`\r\n\r\n### Step 3: Render\r\n\r\n```bash\r\nmanim -ql script.py Scene1_Introduction Scene2_CoreConcept  # draft\r\nmanim -qh script.py Scene1_Introduction Scene2_CoreConcept  # production\r\n```\r\n\r\n### Step 4: Stitch\r\n\r\n```bash\r\ncat > concat.txt \u003C\u003C 'EOF'\r\nfile 'media\u002Fvideos\u002Fscript\u002F480p15\u002FScene1_Introduction.mp4'\r\nfile 'media\u002Fvideos\u002Fscript\u002F480p15\u002FScene2_CoreConcept.mp4'\r\nEOF\r\nffmpeg -y -f concat -safe 0 -i concat.txt -c copy final.mp4\r\n```\r\n\r\n### Step 5: Review\r\n\r\n```bash\r\nmanim -ql --format=png -s script.py Scene2_CoreConcept  # preview still\r\n```\r\n\r\n## Critical Implementation Notes\r\n\r\n### Raw Strings for LaTeX\r\n```python\r\n# WRONG: MathTex(\"\\frac{1}{2}\")\r\n# RIGHT:\r\nMathTex(r\"\\frac{1}{2}\")\r\n```\r\n\r\n### buff >= 0.5 for Edge Text\r\n```python\r\nlabel.to_edge(DOWN, buff=0.5)  # never \u003C 0.5\r\n```\r\n\r\n### FadeOut Before Replacing Text\r\n```python\r\nself.play(ReplacementTransform(note1, note2))  # not Write(note2) on top\r\n```\r\n\r\n### Never Animate Non-Added Mobjects\r\n```python\r\nself.play(Create(circle))  # must add first\r\nself.play(circle.animate.set_color(RED))  # then animate\r\n```\r\n\r\n## Performance Targets\r\n\r\n| Quality | Resolution | FPS | Speed |\r\n|---------|-----------|-----|-------|\r\n| `-ql` (draft) | 854x480 | 15 | 5-15s\u002Fscene |\r\n| `-qm` (medium) | 1280x720 | 30 | 15-60s\u002Fscene |\r\n| `-qh` (production) | 1920x1080 | 60 | 30-120s\u002Fscene |\r\n\r\nAlways iterate at `-ql`. Only render `-qh` for final output.\r\n\r\n## References\r\n\r\n| File | Contents |\r\n|------|----------|\r\n| `references\u002Fanimations.md` | Core animations, rate functions, composition, `.animate` syntax, timing patterns |\r\n| `references\u002Fmobjects.md` | Text, shapes, VGroup\u002FGroup, positioning, styling, custom mobjects |\r\n| `references\u002Fvisual-design.md` | 12 design principles, opacity layering, layout templates, color palettes |\r\n| `references\u002Fequations.md` | LaTeX in Manim, TransformMatchingTex, derivation patterns |\r\n| `references\u002Fgraphs-and-data.md` | Axes, plotting, BarChart, animated data, algorithm visualization |\r\n| `references\u002Fcamera-and-3d.md` | MovingCameraScene, ThreeDScene, 3D surfaces, camera control |\r\n| `references\u002Fscene-planning.md` | Narrative arcs, layout templates, scene transitions, planning template |\r\n| `references\u002Frendering.md` | CLI reference, quality presets, ffmpeg, voiceover workflow, GIF export |\r\n| `references\u002Ftroubleshooting.md` | LaTeX errors, animation errors, common mistakes, debugging |\r\n| `references\u002Fanimation-design-thinking.md` | When to animate vs show static, decomposition, pacing, narration sync |\r\n| `references\u002Fupdaters-and-trackers.md` | ValueTracker, add_updater, always_redraw, time-based updaters, patterns |\r\n| `references\u002Fpaper-explainer.md` | Turning research papers into animations — workflow, templates, domain patterns |\r\n| `references\u002Fdecorations.md` | SurroundingRectangle, Brace, arrows, DashedLine, Angle, annotation lifecycle |\r\n| `references\u002Fproduction-quality.md` | Pre-code, pre-render, post-render checklists, spatial layout, color, tempo |\r\n\r\n---\r\n\r\n## Creative Divergence (use only when user requests experimental\u002Fcreative\u002Funique output)\r\n\r\nIf the user asks for creative, experimental, or unconventional explanatory approaches, select a strategy and reason through it BEFORE designing the animation.\r\n\r\n- **SCAMPER** — when the user wants a fresh take on a standard explanation\r\n- **Assumption Reversal** — when the user wants to challenge how something is typically taught\r\n\r\n### SCAMPER Transformation\r\nTake a standard mathematical\u002Ftechnical visualization and transform it:\r\n- **Substitute**: replace the standard visual metaphor (number line → winding path, matrix → city grid)\r\n- **Combine**: merge two explanation approaches (algebraic + geometric simultaneously)\r\n- **Reverse**: derive backward — start from the result and deconstruct to axioms\r\n- **Modify**: exaggerate a parameter to show why it matters (10x the learning rate, 1000x the sample size)\r\n- **Eliminate**: remove all notation — explain purely through animation and spatial relationships\r\n\r\n### Assumption Reversal\r\n1. List what's \"standard\" about how this topic is visualized (left-to-right, 2D, discrete steps, formal notation)\r\n2. Pick the most fundamental assumption\r\n3. Reverse it (right-to-left derivation, 3D embedding of a 2D concept, continuous morphing instead of steps, zero notation)\r\n4. Explore what the reversal reveals that the standard approach hides\r\n",{"name":5,"author":24,"license":15,"version":25,"metadata":26,"platforms":34,"description":7},"SHL0MS, Hermes Agent","1.0.0",{"hermes":27},{"tags":28,"related_skills":33},[29,30,31,32],"Manim","Animation","Math","Video",[],[35,36,37],"linux","macos","windows","main","a3f3199bb87ec3c91248f68a39d88527e1847ae9","skills\u002F.archive\u002Fmanim-video","https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content","https:\u002F\u002Fgithub.com\u002Fchaorenex1","https:\u002F\u002Fblog.aduib.com","A programmer whose only hobby in life is coding","2026-10-20 00:34:32",{"source":8,"skillName":5,"commands":47,"prompt":57,"zipAvailable":58},[48,51,54],{"tool":49,"command":50},"npx","npx skills add chaorenex1\u002Fhermes-home-content --skill manim-video",{"tool":52,"command":53},"bunx","bunx skills add chaorenex1\u002Fhermes-home-content --skill manim-video",{"tool":55,"command":56},"pnpm","pnpm dlx skills add chaorenex1\u002Fhermes-home-content --skill manim-video","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content\u002Fblob\u002Fmain\u002Fskills\u002F.archive\u002Fmanim-video\u002FSKILL.md",true,[60,66,70,74,78,82,86,90,94,98,102,106,110,114,118,122],{"path":61,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":64,"sourceHtmlUrl":65},"README.md","REFERENCE","参考文档",909,"https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content\u002Fblob\u002Fmain\u002Fskills\u002F.archive\u002Fmanim-video\u002FREADME.md",{"path":67,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":68,"sourceHtmlUrl":69},"references\u002Fanimation-design-thinking.md",7366,"https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content\u002Fblob\u002Fmain\u002Fskills\u002F.archive\u002Fmanim-video\u002Freferences\u002Fanimation-design-thinking.md",{"path":71,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":72,"sourceHtmlUrl":73},"references\u002Fanimations.md",9118,"https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content\u002Fblob\u002Fmain\u002Fskills\u002F.archive\u002Fmanim-video\u002Freferences\u002Fanimations.md",{"path":75,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":76,"sourceHtmlUrl":77},"references\u002Fcamera-and-3d.md",4267,"https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content\u002Fblob\u002Fmain\u002Fskills\u002F.archive\u002Fmanim-video\u002Freferences\u002Fcamera-and-3d.md",{"path":79,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":80,"sourceHtmlUrl":81},"references\u002Fdecorations.md",5208,"https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content\u002Fblob\u002Fmain\u002Fskills\u002F.archive\u002Fmanim-video\u002Freferences\u002Fdecorations.md",{"path":83,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":84,"sourceHtmlUrl":85},"references\u002Fequations.md",6302,"https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content\u002Fblob\u002Fmain\u002Fskills\u002F.archive\u002Fmanim-video\u002Freferences\u002Fequations.md",{"path":87,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":88,"sourceHtmlUrl":89},"references\u002Fgraphs-and-data.md",4791,"https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content\u002Fblob\u002Fmain\u002Fskills\u002F.archive\u002Fmanim-video\u002Freferences\u002Fgraphs-and-data.md",{"path":91,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":92,"sourceHtmlUrl":93},"references\u002Fmobjects.md",10072,"https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content\u002Fblob\u002Fmain\u002Fskills\u002F.archive\u002Fmanim-video\u002Freferences\u002Fmobjects.md",{"path":95,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":96,"sourceHtmlUrl":97},"references\u002Fpaper-explainer.md",9588,"https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content\u002Fblob\u002Fmain\u002Fskills\u002F.archive\u002Fmanim-video\u002Freferences\u002Fpaper-explainer.md",{"path":99,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":100,"sourceHtmlUrl":101},"references\u002Fproduction-quality.md",6094,"https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content\u002Fblob\u002Fmain\u002Fskills\u002F.archive\u002Fmanim-video\u002Freferences\u002Fproduction-quality.md",{"path":103,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":104,"sourceHtmlUrl":105},"references\u002Frendering.md",5560,"https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content\u002Fblob\u002Fmain\u002Fskills\u002F.archive\u002Fmanim-video\u002Freferences\u002Frendering.md",{"path":107,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":108,"sourceHtmlUrl":109},"references\u002Fscene-planning.md",2869,"https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content\u002Fblob\u002Fmain\u002Fskills\u002F.archive\u002Fmanim-video\u002Freferences\u002Fscene-planning.md",{"path":111,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":112,"sourceHtmlUrl":113},"references\u002Ftroubleshooting.md",4454,"https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content\u002Fblob\u002Fmain\u002Fskills\u002F.archive\u002Fmanim-video\u002Freferences\u002Ftroubleshooting.md",{"path":115,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":116,"sourceHtmlUrl":117},"references\u002Fupdaters-and-trackers.md",8760,"https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content\u002Fblob\u002Fmain\u002Fskills\u002F.archive\u002Fmanim-video\u002Freferences\u002Fupdaters-and-trackers.md",{"path":119,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":120,"sourceHtmlUrl":121},"references\u002Fvisual-design.md",4886,"https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content\u002Fblob\u002Fmain\u002Fskills\u002F.archive\u002Fmanim-video\u002Freferences\u002Fvisual-design.md",{"path":123,"resourceType":124,"resourceTypeDesc":125,"sizeBytes":126,"sourceHtmlUrl":127},"scripts\u002Fsetup.sh","SCRIPT","脚本",935,"https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content\u002Fblob\u002Fmain\u002Fskills\u002F.archive\u002Fmanim-video\u002Fscripts\u002Fsetup.sh",[129,136,143,150,157,164],{"skillNo":130,"name":131,"nameZh":6,"description":132,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":133,"categories":134,"keywords":135,"publishedAt":19},"01M7F8GF32YD5MBQW2TGSRH1YP","web-retrieval-resilience","Web tools fail or search rules break: repair or fall back.","https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content\u002Fblob\u002Fmain\u002Fskills\u002Fweb\u002Fweb-retrieval-resilience\u002FSKILL.md",[],[],{"skillNo":137,"name":138,"nameZh":6,"description":139,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":140,"categories":141,"keywords":142,"publishedAt":19},"01M7F8FP46QESQMCZ1KBT3TW3R","blocked-page-recovery","Use when a fetch fails: 403\u002F429, paywall, WAF, bot wall.","https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content\u002Fblob\u002Fmain\u002Fskills\u002Fweb\u002Fblocked-page-recovery\u002FSKILL.md",[],[],{"skillNo":144,"name":145,"nameZh":6,"description":146,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":147,"categories":148,"keywords":149,"publishedAt":19},"01M7F8ER6VXHBNVRQBZS7X08SE","verification-loop","Run a six-phase verification of a Claude Code session's work — build, type check, lint, tests with coverage, security grep, and diff review — then produce a PASS\u002FFAIL verification report. Use when verifying work after completing a feature or refactor, before creating a PR, or when quality gates must pass.","https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content\u002Fblob\u002Fmain\u002Fskills\u002Fverification-loop\u002FSKILL.md",[],[],{"skillNo":151,"name":152,"nameZh":6,"description":153,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":154,"categories":155,"keywords":156,"publishedAt":19},"01M7F8E4BQJ38KVQVM3MT20PYV","unreal-world-builder","开放世界与环境专家——精通 UE5 World Partition、Landscape、程序化植被、HLOD 和大规模关卡流式加载，打造无缝开放世界体验","https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content\u002Fblob\u002Fmain\u002Fskills\u002Funreal-engine\u002Funreal-world-builder\u002FSKILL.md",[],[],{"skillNo":158,"name":159,"nameZh":6,"description":160,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":161,"categories":162,"keywords":163,"publishedAt":19},"01M7F8D747SQW2FTP7GBSX38BR","unreal-technical-artist","Unreal Engine 视觉管线专家——精通材质编辑器、Niagara 特效、程序化内容生成和 UE5 项目的美术到引擎管线","https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content\u002Fblob\u002Fmain\u002Fskills\u002Funreal-engine\u002Funreal-technical-artist\u002FSKILL.md",[],[],{"skillNo":165,"name":166,"nameZh":6,"description":167,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":168,"categories":169,"keywords":170,"publishedAt":19},"01M7F8CKHYJVZVBTN0321J88T2","unreal-systems-engineer","性能与混合架构专家——精通 C++\u002FBlueprint 边界、Nanite 几何体、Lumen GI 和 Gameplay Ability System，面向 AAA 级 Unreal Engine 项目","https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content\u002Fblob\u002Fmain\u002Fskills\u002Funreal-engine\u002Funreal-systems-engineer\u002FSKILL.md",[],[]]