AnSci - Animation Science
Turning Scientific Papers into 3Blue1Brown-Style Educational Videos
🎯 Inspiration
3Blue1Brown's fantastic animated videos clearly explain mathematical and statistical concepts through beautiful visualizations and intuitive explanations. We were inspired by Grant Sanderson's ability to make complex topics accessible through animation, and wanted to democratize this approach by automatically generating similar educational content from scientific papers.
🚀 What it does
AnSci transforms dense scientific research papers into engaging, animated educational videos that combine:
- Visual Animations: Using Manim (3Blue1Brown's animation engine) to create mathematical visualizations, diagrams, and conceptual illustrations
- AI-Generated Narratives: Claude Sonnet 4 analyzes papers and generates clear, educational explanations
- Lifelike Voice Synthesis: LMNT's advanced TTS creates natural-sounding narration with configurable pitch and tone
- Flexible Output Options: Users can generate single comprehensive videos or split content into multiple focused segments
Key Features:
- 📄 PDF Processing: Automatically extracts and analyzes scientific papers
- 🎬 Manim Integration: Generates production-quality animations using 3Blue1Brown's proven framework
- 🎙️ Audio Synchronization: Perfectly timed narration that matches visual content
- ⚙️ Customizable Output: Configure animation focus and video splitting based on user preferences
- 🧠 AI-Powered: Leverages Claude Sonnet 4 for intelligent content analysis and explanation generation
🛠️ How we built it
Architecture Overview
AnSci Pipeline:
PDF Input → Claude Analysis → Manim Code Generation → Animation Rendering → Audio Synthesis → Video Combination
Tech Stack:
- AI Processing: Anthropic Claude Sonnet 4 for content analysis and Manim code generation
- Animation Engine: Manim (Mathematical Animation Engine by 3Blue1Brown)
- Text-to-Speech: LMNT SDK for high-quality voice synthesis
- Video Processing: FFmpeg for combining and rendering final videos
- Backend: Python with async processing and robust error handling
- CLI Interface: Argparse-based command line tool for easy usage
Core Components:
- PDF Analysis Module: Extracts and processes research paper content
- AI Animation Generator: Uses Claude to create appropriate Manim code
- Audio Integration Service: Synchronizes narration with visual content
- Rendering Pipeline: Combines animations and audio into final videos
🚧 Challenges we ran into
Technical Hurdles:
🎬 Manim Code Validation: Configuring an environment conducive to code generated by Anthropic Claude Sonnet 4. We needed to ensure the Manim code generated by the LLM adhered to all the rules that Manim enforces while rendering animations.
🎙️ TTS Integration Issues: VAPI endpoints didn't work properly during development, so we pivoted to the LMNT SDK for text-to-speech synthesis, which provided better reliability and voice quality control.
⚖️ Model Configuration: Balancing Claude Sonnet and Opus configurations for optimal creativity and context window tradeoffs to achieve the best animation results while maintaining factual accuracy.
🔄 Synchronization: Ensuring perfect timing between generated animations and narration, requiring precise duration calculations and audio-visual alignment.
🏆 Accomplishments that we're proud of
What We Achieved:
🎓 Enhanced Learning Experience: Created a proper animation tool that enhances user learning by engaging both auditory and visual senses, making complex scientific concepts accessible to broader audiences.
⚙️ Flexible Configuration: Developed slick animation videos that can be configured using user prompts and selecting the number of output splits, allowing customization for different learning preferences and time constraints.
🤖 AI-Powered Pipeline: Successfully integrated cutting-edge AI (Claude Sonnet 4) with proven animation frameworks (Manim) and advanced TTS (LMNT) to create a seamless content generation pipeline.
📈 Production Quality: Leveraging 3Blue1Brown's animation engine and Claude, we turned scientific research papers into animated tutorials narrated by LMNT's lifelike voice agents with configurable pitch and tone.
📚 What we learned
Technical Insights:
- AI Code Generation: How to effectively prompt and validate LLM-generated code for specialized frameworks like Manim
- Audio-Visual Synchronization: The complexity of timing animations with natural speech patterns
- Quality Assurance: The importance of robust validation systems when dealing with AI-generated content
- API Integration: How to build resilient systems that can adapt when third-party services fail
Domain Knowledge:
- Educational Design: Principles of effective educational video creation inspired by 3Blue1Brown's methodology
- Scientific Communication: How to distill complex research into accessible explanations without losing accuracy
- Animation Psychology: Understanding how visual and auditory elements combine to enhance learning
🔮 What's next for AnSci
Immediate Roadmap:
- 📱 Web Interface: Develop a user-friendly web application for non-technical users
- 🎨 Style Customization: Add more animation styles and visual themes beyond the 3Blue1Brown aesthetic
- 🌐 Multi-Language Support: Expand TTS capabilities to support multiple languages for global accessibility
- 📊 Analytics Dashboard: Track learning engagement and video effectiveness metrics
Advanced Features:
- 🤝 Interactive Elements: Add interactive components where viewers can manipulate variables and see real-time changes
- 🎯 Personalized Learning: AI-driven content adaptation based on user knowledge level and learning pace
- 🔗 Integration Platform: APIs for integration with learning management systems and educational platforms
- 📱 Mobile App: Native mobile applications for on-the-go learning
Research Directions:
- 🧠 Advanced AI Models: Explore newer language models and specialized scientific AI for better content generation
- 🎬 Animation Innovation: Develop novel visualization techniques for emerging scientific fields
- 📈 Learning Optimization: Research optimal video length, pacing, and content structure for maximum educational impact
🏁 Conclusion
AnSci represents a significant step toward democratizing high-quality educational content creation. By combining the visual power of 3Blue1Brown's animations, the intelligence of Claude AI, and the natural speech of LMNT TTS.
Our vision is to make scientific knowledge more accessible, helping bridge the gap between cutting-edge research and public understanding. AnSci provides the tools to create compelling, educational animations that truly engage and inform.
Built With
- anthropic
- lmnt
- nobel
- python
- vercel


Log in or sign up for Devpost to join the conversation.