BM

bcefghj/math-animation-mcp

Developer tools

This page was translated automatically. Technical details may differ from the original. View the original

29 stars 12 forks Quality 63 Trend 1

🎬 MCP Server for Generating 3Blue1Brown Style Math Teaching Animations | Generate math teaching animations with Manim + AI

Overview

Supports: Text descriptions / LaTeX formulas / PDF exam papers / Image screenshots → Automatic output for teaching MP4 Coverage: college/high school entrance exams in mathematics, physics, computer science, suitable for zero programming background Compatible with macOS 12 Monterey and above (also supported by M1/M2/M3 chips) 💡 Homebrew is a package manager on macOS, essentially Apple's version of the "App Store," and is free. The installation process takes 5-15 minutes and will prompt you to enter your computer password (the screen will not display characters when entering it, which is normal). 1. Open https://www.python.org/downloads/ 2. Click "Download Python 3.11.x" (choose 3.11 or later) 3. : Check "✅ Add Python to PATH" during installation 4. Click "Install Now" Open PowerShell as an administrator (Start menu→ Search for PowerShell → right-click "Run as administrator"): 1. Open https://miktex.org/download 2. Download and run the installer 3. Select "Install missing packages automatically: Yes" during installation Compatible with Ubuntu 20.04 / 22.04 / 24.04 (Debian series) No need to install anything, just Docker. Suitable for any platform (Mac/Win/Linux).

Overview (machine translated)

Describe the animation you want in one sentence, AI automatically generates 3Blue1Brown style tutorial videos

Supports: text descriptions / LaTeX formulas / PDF test papers / image screenshots → automatic output of teaching MP4 Coverage: Gaokao/Zhongkao math, physics, computer science, all available for zero programming background


📺 Effect Demonstration

Below is a real rendered case of this project (all code see examples/ directory):

🏆 2025 College Entrance Exam Real Questions Explanation (3 Major Questions)

Title Duration Content Highlights
Question 17: Solid Geometry 1 minute 13 seconds Quadrangular pyramid 3D modeling + 360° rotation + spherical visualization + dihedral angle calculation
Question 18 Conic section 1 minute 32 seconds Step-by-step solution for ellipse + moving point trajectory animation +
Question 19 Derivative Highlights 2 minutes 05 seconds f(x) = 5cosx − cos5x Full solution + sum and differential product visualization + φ Scanning animation

📚 15 Fundamental Mathematics Case Studies

Case Duration Key Points
Euler Formula ~20s $e^{i\pi}+1=0$, complex plane rotation animation
Method of Preparation ~15s Step-by-step formula + parabolic image
Trigonometric Transform ~15s A/ω/φ Gradual change comparison
Vector Addition ~12s Parallelogram rule
ε-δ Limit Definition ~15s Visualize ε and δ bands
Matrix Multiplication ~15s Expand element-by-element
Taylor Expand ~18s 7th order approximates sin(x)
Bayes’ Theorem ~20s Wayne diagram + medical testing case
Complex Plane ~15s Complex number operations with geometric meaning
Yang Hui Triangle ~12s Generate line by line + binomial theorem
Sorting Algorithm ~14s Time Complexity Comparison Table
Fundamental Theorem of Calculus ~20s Area visualization
Simple Harmonic Motion ~18s Spring animation + real-time waveform rendering
3D Spatial Plane ~35s 3D rotation + normal vector

🔬 12 Advanced Long Cases

Case Duration Key Points
College Entrance Exam Derivatives Grand Finale 45s f(x) = x − 1 − a·ln(x), monotononicity discussion + inequality proof
3D Solid Geometry 30s Cube cross-section + dihedral angle calculation
College Entrance Exam Parameterized Functions 42s f(x) = ex−ax−1, including discussion + extreme value
College Entrance Exam Recursive Sequences 40s Take the reciprocal arithmetic + verify the first 8 terms

This page was translated automatically. Technical details may differ from the original.

Install

uvx math-animation-mcp
New to MCP? Start with the mcpskill.org guide →

Configuration

{ "mcpServers": { "math-animation": { "command": "uvx", "args": ["math-animation-mcp"], "env": { "OUTPUT_DIR": "./animation_output" } } } }