Back to Blog List
Arya Maddel3/13/2025

AutoManim

This project combines Flask and the Groq API to create a web interface that transforms text descriptions into mathematical animations using Manim.

How It Works

  • User enters a description of the desired animation
  • Groq LLM converts the description to Manim Python code
  • Manim code is executed and renders the animation

Setup Guide

  1. Clone the repository
    git clone https://github.com/aryamaddel/manim-web-generator
    cd manim-web-generator
    
  2. Install Manim and dependencies using UV package manager (recommended)
    • Install UV from their official website
    • After installation, run the following command to install Manim and other dependencies:
    uv add manim flask groq
    
  3. Run the project
    flask run
    

Code