MHN

Show HN: AI that generates 3blue1brown-style explainer videos

93 points by zan2434·695 days ago·tma.live·Show in HN

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!

Add a comment on Hacker News →
1 of 46 comments
  1. Thank you for sharing. This is a wonderful experiment and I think this concept has a lot of potential.