Text-to-Math-Animation using Agentic AI and the Manim library.
Manimator takes natural language math explanations and turns them into executable Manim animations using an agent-based pipeline orchestrated with LangGraph.
The system is split into the following components:
-
Intent Classifier
Limit the scope to Math, CS and AI only so Manim can Handle user queries. Manim can't visualize other topics like heart blood flow or others succintly. -
Planner Component
Breaks the intent into structured animation scenes. -
CodeGen Component
Takes the planner and generates the code using manim library. -
Validate & Route
Validates the generated python code using Python AST -
Render Component
Renders the final animation using Manim command.
Demo on Youtube:
- Python
- Manim
- langchain & LangGraph
Experimental. Works, but expect rough edges.
