3brown1blue
Generate 3Blue1Brown-style Manim explainer videos from topics or slide decks, or install the Manim skill into your AI coding tool.
Install the skill (recommended)
The primary use: install 27 rule files, templates, and safe wrappers into your AI tool so it generates production-quality animations.
pip install 3brown1blue
3brown1blue install
Supports: Claude Code, Cursor, Windsurf, GitHub Copilot
Then just ask your AI: "make a video explaining backpropagation" -- the skill handles layout templates, production rules, visual design principles, and common gotchas automatically.
Generate from a topic
Two-step pipeline: plans the video first (research, curriculum, scene plans, style contract), shows you the plan for review, then generates Manim code.
# one-shot with uvx (no permanent install)
uvx '3brown1blue[anthropic]' generate "Fourier transforms" --render
# or with Claude Code (no API key needed)
3brown1blue generate "attention mechanism" -p claude-code --render -q h
Generate from slides
Extract content from a PowerPoint deck, plan a video, and generate Manim code. Auto-detects whether vision extraction is needed for diagram-heavy slides.
pip install '3brown1blue[slides]'
3brown1blue from-slides lecture.pptx -p claude-code --render
The pipeline: extract text + speaker notes + images -> plan with scene templates -> review/edit the plan -> generate Manim code -> render.
Supported providers
| Provider | Install extra | Env var | Notes |
|---|---|---|---|
| Claude Code | none | none | Uses claude -p, no API key needed |
| Anthropic | [anthropic] |
ANTHROPIC_API_KEY |
|
| OpenAI | [openai] |
OPENAI_API_KEY |
|
| Google Gemini | [openai] |
GOOGLE_API_KEY |
OpenAI-compatible API |
| Groq | [openai] |
GROQ_API_KEY |
OpenAI-compatible API |
| Mistral | [openai] |
MISTRAL_API_KEY |
OpenAI-compatible API |
What the skill includes
- 24 rule files: animations, equations, visual design, production quality, 3D, graphs, updaters, troubleshooting, and more
- 3 templates: equation explainer, paper explainer, shared style.py
- Safe wrappers: drop-in replacements for crash-prone Manim APIs
- 12 gotchas: documented crashes and silent bugs with fixes
- 22 visual patterns: extracted from 422 frames of 3Blue1Brown videos
CLI reference
3brown1blue generate TOPIC [OPTIONS]
3brown1blue from-slides DECK [OPTIONS]
3brown1blue install [--platform] [--force]
3brown1blue uninstall [--platform]
3brown1blue update [--platform]
3brown1blue status
Common options for generate/from-slides:
--provider -p claude-code | anthropic | openai | google | groq | mistral
--model -m generation model (provider default if omitted)
--plan-model planning model (same as --model if omitted)
--api-key -k API key (or set the provider env var)
--output -o output file [default: scene.py]
--render run manim after generation
--quality -q l=fast | m=medium | h=1080p | k=4K [default: l]
Showcase
See generated videos: 3brown1blue-showcase
Prerequisites
pip install manim
# macOS: brew install mactex
# Linux: apt install texlive-full
# Windows: install MiKTeX
License
MIT
Metadata
Release files for 3brown1blue 1.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| 3brown1blue-1.2.1.tar.gz | 23.7 MB | Without provenance | Details for 3brown1blue-1.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| 3brown1blue-1.2.1-py3-none-any.whl | Python 3 | none | any | Details for 3brown1blue-1.2.1-py3-none-any.whl |
Total release size: 23.8 MB
Release files / 3brown1blue-1.2.1.tar.gz
| Download URL | 3brown1blue-1.2.1.tar.gz |
|---|---|
| Size | 23.7 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
83986b0848c5e34a10d3a1fe7fed26f8e87ede8b221ebd8816a29632771680ac
|
|
BLAKE2b-256 checksum How to use checksums |
3082addfd1ebb1c9175242e0c172af5c1d7f99e7580889326a9e40ec251935ad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.12
|
Release files / 3brown1blue-1.2.1-py3-none-any.whl
| Download URL | 3brown1blue-1.2.1-py3-none-any.whl |
|---|---|
| Size | 116.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7c9f05733d17710867c53fc8bf3670e7ca8e618bba0a58aec4b985d24c723e11
|
|
BLAKE2b-256 checksum How to use checksums |
1bd759121616d7a3855f968b1b2c99aeabab85c128a2d03a842bb45cd1960146
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.12
|
Security for 3brown1blue 1.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.