Inspiration
3 Blue 1 Brown videos take SSOOOOO long to edit. This program automatically creates the animations and the video itself.
What it does
ManImTired takes an educational concept as a text prompt and automatically generates a full Manim animation script. It uses LLMs to plan slide content, write explanations, generate diagram descriptions, and finally output a valid, well-structured Manim scene. It includes a built-in GUI for users to input prompts, choose between different LLMs (Llama 3.1 8B hosted on Cerebras, GPT-4o, or o3-mini), and preview generated animations.
How we built it
- DearPyGUI for the interactive GUI.
- Manim as the animation engine.
- LangChain for prompt engineering and model chaining.
- Cerebras and OpenAI APIs for LLM interactions.
- Pydantic + JSON parsing to ensure the output code is structured and valid.
- Custom agents to break down tasks into: content planning, slide explanation, diagram generation, and script assembly.
- Robust post-processing logic to fix common Manim issues and enforce visual layout constraints. ## Challenges we ran into
- Prompting LLMs to generate valid Manim code was tricky—especially enforcing layout and animation constraints.
- Managing LLM output structure required extensive validation and fallback logic.
- Preventing broken animations (e.g., overflowing visuals, unplayable shapes) needed careful patching and safety functions.
- Rendering stability—render timeouts and Manim quirks required defensive scripting and background threads. ## Accomplishments that we're proud of
- Built a full pipeline from prompt → plan → script → rendered video with fallback handling.
- Integrated multiple LLMs into a GUI that lets users experiment with different models.
- Automated Manim animation creation with well-structured educational content and visuals.
- Created robust safety nets to ensure output is both correct and visually coherent. ## What we learned
- LLMs are powerful, but it is not that great with positioning
- Combining AI planning with procedural animation may open the door for scalable educational content generation. ## What's next for ManImTired
- Improving content and animations
- Adding audio narration and subtitle generation for accessibility.
Log in or sign up for Devpost to join the conversation.