shuyicc

shuyicc / MathLens

Public

MathLens 是一个专注于数学题目视频讲解的 Agent Skill。你只需粘贴一道数学题(图片或文字),它就能自动完成从题目分析、可视化讲解、配音脚本到 Manim 动画视频的全流程制作。单条视频1-10 分钟,成本 0.2-1 元以内。

144
1
100% credibility
Found Mar 11, 2026 at 67 stars 2x -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Python
AI Summary

MathLens is an open-source toolkit that automates creating narrated, animated math teaching videos from problem images or text using AI analysis and scripting helpers.

How It Works

1
📚 Discover MathLens

You find this handy tool that turns any math problem into a fun teaching video with voice and animations.

2
🛠️ Set up your project space

You create a new folder for your math video and get the basic pieces ready with a simple start command.

3
🧮 Paste in a math problem

You simply copy and paste a picture or description of the math question into your AI chat, like asking a smart tutor for help.

4
🤖 AI builds the full lesson

The AI analyzes the problem, writes a clear step-by-step explanation, creates voice narration, and designs smooth animations.

5
🎵 Generate voices and preview

You create natural-sounding voice recordings that match the visuals perfectly, and check everything lines up nicely.

6
🎬 Create and watch your video

With one go, it puts it all together into a polished video where animations sync exactly with the spoken words.

🎉 Share your math video

You now have a professional teaching video ready to share with students, feeling like a pro educator!

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 67 to 144 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is MathLens?

MathLens is a Python agent skill for Cursor AI that turns a pasted math problem—image or text—into a complete narrated teaching video. It automates analysis, visual breakdowns, TTS scripting, and Manim rendering for 1-10 minute clips costing 0.2-1 yuan each. Developers get polished animations without stitching tools together.

Why is it gaining traction?

Its 8-step pipeline delivers frame-accurate sync between natural TTS voiceovers and Manim animations, triggered by narration keywords. Geometry self-checks catch errors early, and SVG previews let you iterate visuals instantly. Low cost and Cursor integration hook Python users experimenting with math content.

Who should use this?

Math teachers creating homework explainers from screenshots. Edtech devs prototyping animated lessons. Python scripters new to Manim who want quick video prototypes without manual audio alignment.

Verdict

At 48 stars and 1.0% credibility, MathLens feels early-stage with good docs but light testing—fine for personal education projects under its non-commercial license. Try the init script and manual CLI for TTS/render if Cursor agents suit your workflow.

(178 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.