SHAHRIAR LABSIntelligence in Motion
    Back to Blog
    AI SkillsJune 6, 2026

    manim-coding-skill: AI STEM Animations for EdTech

    manim-coding-skill turns prompts into narrative-driven STEM animations via a 5-phase ManimGL pipeline — the same engine powering Quantum Sketch.

    manim-coding-skill turns prompts into narrative-driven STEM animations via a 5-phase ManimGL pipeline. The same engine powers Quantum SketchShahriar Labs' AI STEM video platform. Now available as an open-source agent skill for developers and EdTech teams building animation workflows.

    The 5-Phase Pipeline

    1. Topic decomposition: Breaks the animation topic into a narrative arc — setup, core concept, visualization, implication, summary.
    2. Scene scripting: Generates ManimGL Python code for each 15-second chunk with narration timing markers.
    3. Mathematical validation: Verifies that all equations, coordinate systems, and physics constants are correct before rendering.
    4. Rendering: Executes ManimGL scenes in sequence, applying consistent visual style (color palette, font, transition timing).
    5. Merging: Concatenates chunks with ffmpeg into the final video, adjusting pacing for natural narrative flow.

    What It Animates

    The skill covers the full STEM curriculum: physics (projectile motion, wave interference, electromagnetic fields), mathematics (derivative visualization, matrix transformations, Fourier series), chemistry (molecular orbital overlaps, reaction energy diagrams), and CS (sorting algorithms, tree traversals, graph BFS/DFS).

    Critical constraint: manim-coding-skill generates code-based animations, not generative video. This means every frame is mathematically correct — no hallucinated physics, no approximate chemistry. The same principle behind Quantum Sketch's accuracy-first design.

    Integration with Quantum Sketch

    Quantum Sketch wraps this skill in a product experience — user-facing prompt UI, cloud rendering, video hosting, and sharing. manim-coding-skill is the raw pipeline, open-sourced for developers who want to build their own EdTech tooling, integrate animations into LMS platforms, or run batch animation generation for course content.

    Frequently Asked Questions

    What is manim-coding-skill?
    An AI skill that generates teaching-quality STEM animations using ManimGL via a 5-phase pipeline.
    How does it relate to Quantum Sketch?
    Quantum Sketch is the product; manim-coding-skill is the open-sourced underlying pipeline.
    What STEM topics can it animate?
    Physics, mathematics, chemistry, computer science — all rendered from mathematically correct code, not generative video.
    What is the output format?
    MP4 at 720p or 1080p, structured in 15-second narrative chunks merged into a configurable-length final video.

    Written by Shihab Shahriar Antor — AI Engineer & Founder of Shahriar Labs. Building LetX, QuantumSketch, and open-source AI agent skills.