AI tool for generating mathematical animations from text using AI
Top 37.0% on sourcepulse
This project provides Python scripts and Manim code to generate animations of complex mathematical and physics concepts, aimed at educators and researchers. It leverages large language models (LLMs) like DeepSeek, Gemini, and Grok3 to automatically create visualizations and accompanying LaTeX study notes from detailed text prompts, simplifying the creation of advanced educational content.
How It Works
The core approach involves using LLMs to translate intricate mathematical descriptions, often formatted in LaTeX, into executable Manim animation scripts. A key innovation is the "Dual-Stream Output," which simultaneously generates animation code and detailed, LaTeX-formatted study notes. This method bypasses the need for model fine-tuning, relying instead on sophisticated prompt engineering to achieve complex visualizations and explanations. The system also incorporates a feedback loop, allowing successful animations to inform future prompt generation.
Quick Start & Requirements
.env
file with DEEPSEEK_API_KEY
, and run pip install -r requirements.txt
.Highlighted Details
Maintenance & Community
The project is actively developed by HarleyCoops. Information on community channels like Discord/Slack or a roadmap is not explicitly provided in the README.
Licensing & Compatibility
License information is not specified in the README. Compatibility for commercial use or closed-source linking is therefore undetermined.
Limitations & Caveats
The repository contains output files and Manim code, not the AI model or the complete pipeline for generating animation scripts from mathematical concepts; the full pipeline is proprietary. Errors often stem from LaTeX interpretation within prompts. The project is described as a work in progress, with ongoing efforts to improve prompting and model fine-tuning.
3 weeks ago
1 day