AI-powered web application that generates mathematical animations from natural language descriptions using Manim and Google Gemini AI.
- 🤖 AI-Powered Code Generation: Uses Google Gemini to convert text descriptions into Manim code
- 🎥 Video Rendering: Generates smooth MP4 animations using Manim
- ⚡ Simple Setup: Minimal dependencies and easy installation
- 🎨 Clean Web UI: Intuitive interface for creating animations
- 🔄 Real-time Processing: Get your animations in 30-60 seconds
- Python 3.8+
- FFmpeg (for video encoding)
- Google Gemini API Key (free at https://ai.google.dev/)
FFmpeg is required for video rendering. Choose your platform:
- Download: Visit https://www.gyan.dev/ffmpeg/builds/
- Download
ffmpeg-release-essentials.zip(~88 MB) - Extract the zip file to
C:\ffmpeg- After extraction, you should have:
C:\ffmpeg\bin\ffmpeg.exe
- After extraction, you should have:
- Add to PATH:
- Press
Windowskey - Type:
environment variables - Click: "Edit the system environment variables"
- Click: "Environment Variables" button
- In User variables, find and select "Path"
- Click: "Edit" → "New"
- Add:
C:\ffmpeg\bin - Click OK on all windows
- Press
- Verify Installation:
- Open a NEW terminal
- Run:
ffmpeg -version - You should see version information
brew install ffmpeg
sudo apt update sudo apt install ffmpeg
create virtual environment
Install Python dependencies pip install -r requirements.txt
enter GEMINI_API_KEY=your_api_key_here
cd backend python main.py
cd frontend python -m http.server 3000