manim-explainer

Renders Manim animation scenes into MP4 explainer videos with thumbnail frames.

8.5k|1.4k|Updated Apr 24, 2024
One-click install
npx skills add https://github.com/TeamWiseFlow/wiseflow --skill manim-explainer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: manim-explainer
Source: https://github.com/TeamWiseFlow/wiseflow/tree/main/crews/content-producer/skills/manim-explainer
Command: npx skills add https://github.com/TeamWiseFlow/wiseflow --skill manim-explainer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires manim, ffmpeg, and includes scripts (resource) and assets (resource) components.

What problem does it solve?

Creating technical explainer animations for concepts like graphs, system architectures, and workflows normally requires manual Manim scripting, rendering, and post-processing. This Skill provides a structured workflow and a ready-made render pipeline that turns a Manim scene file into a finished MP4 plus a thumbnail frame in one command.

Core Features & Use Cases

  • Guided Scene Planning: Enforces a storyboard-first workflow where each of 3-6 scenes proves one point, with progressive reveal and clean typography rules.
  • One-Command Rendering: The wrapper script renders a Manim scene at low, medium, or high quality, locates the output MP4, and exports a thumbnail frame at the 2-second mark, returning a JSON result.
  • Reusable Starter Scene: Ships a network-graph explainer template (assets/network_graph_scene.py) showing stale-node pruning and warm-path highlighting for social-graph explainers.
  • Use Case: A developer needs a 30-second animated explainer of a recommendation algorithm for a landing page. They adapt the starter scene, run a low-quality smoke test to verify composition, then render the final high-quality MP4 and hand it to the video assembly stack for voiceover.

Quick Start

Ask the agent to render the included network graph scene as a low-quality smoke test by running manim-explainer on assets/network_graph_scene.py with the NetworkGraphExplainer class into an output folder.

Frequently Asked Questions about manim-explainer

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

FAQPage Schema
How do I render a Manim scene to MP4 from the command line?

Run the wrapper with the scene file, class name, quality level, and output directory, for example manim-explainer scene.py MyScene low ./output. It invokes manim with the matching quality flag, copies the MP4 out, and prints a JSON result with the video and thumbnail paths.

How do I make a technical explainer animation with Manim?

Define one visual thesis, break it into 3-6 scenes where each proves a single point, write the scene outline before coding, then render a low-quality smoke test first. Only raise quality after composition, timing, and typography are stable.

What tools are required to run Manim rendering scripts?

The pipeline requires python3, the manim CLI for scene rendering, and ffmpeg for extracting the thumbnail frame at the 2-second mark. Optional integration with video-edit assemble and awk-tts adds voiceover audio to the rendered video.

How do I export a thumbnail or poster frame from a rendered video?

The render script automatically exports a PNG thumbnail by seeking to the 2-second mark of the finished MP4 with ffmpeg. The thumbnail path is included in the JSON output alongside the video path.

Why is my Manim render output file not found after rendering?

The script renders into a temporary media directory and searches for the produced MP4 under its videos folder. If manim fails or the class name does not match a scene in the file, no MP4 is produced and the script exits with an error.

When should I use Manim instead of a talking-head video for explainers?

Use Manim when the concept is a graph, workflow, architecture, or metric progression where motion explains state change. It fits precise technical visuals rather than photorealistic or generic cinematic content.