I've been building prototypes of new AI learning tools for months, but I recently learned that 3blue1brown open sourced his incredible math animation library, Manim, and that LLMs could generate code for it without any fine-tuning.
So I made a tool that automatically generates animated math/science explanations in the style of 3blue1brown using Manim from any text prompt.
Try it yourself at https://TMA.live (no signup required)
or see the demo video here: https://x.com/i/status/1874948287759081608
The UX is pretty simple right now, you just write a text prompt and then start watching the video as it's generated. Once it's done generating you can download it.
I built this because I kept finding myself spending 30+ minutes in AI chats trying to understand very specific concepts that would have clicked instantly if there were a visual explanations on YouTube.
Technical Implementation:
- LLM + prompt to use Manim well, right now this uses Gemini with grounding to ensure some level of factuality, but it works equally well with Claude
- Manim for animation generation
- OpenAI TTS for the voiceovers
- Fly.io for hosting the web app
- Modal.com for fast serverless GPUs to render the videos
- HLS protocol for streaming the videos as they are rendered
Note: This is focused on STEM education and visualization, and it is particularly good for math, but get creative and try it with anything! I used it recently to teach my partner's parents a new board game in Mandarin (which I don't speak!)
I'll be around to answer questions. Happy learning!
As an example, I asked about the Cantor function. It generated a 1:24 video, which is laughably short, explained correctly how the Cantor set is defined but showed a flawed visual representation, then simply skipped over how the Cantor function is constructed and simply states the basic properties. Sorry, but this is garbage content.