3b1b

videos: Generate 3Blue1Brown’s Math Video Scenes

A collection of Python scenes used to create explanatory math videos for 3Blue1Brown with the original Manim library. Useful for studying or adapting those animations, provided you can work with Manim and the repository’s noncommercial content license.

View on GitHub Compare
Stars
11.3k
Forks
2.1k
Stars, last 30 days
+127

Our take

Health score

41/100

How it is scored
Activity
43
Community
36
Issues
21
Pull requests
64

+127 stars in the last 30 days

Project history

Daily GitHub snapshots since Oct 7, 2026. History covers stars and forks; health signals are not tracked historically.

Selected snapshot

Stars

11,499

Forks

2,094

Change since Nov 16, 2026: +2 stars·+1 forks

Overview

This repository holds the Python scene code behind explanatory math videos published by 3Blue1Brown. The scenes are built primarily with 3b1b/manim, the animation library used to render them.

It is most useful as a reference or starting point for people exploring how mathematical ideas can be animated, or for running and adapting the included scenes. It is not a standalone video editor or a general-purpose collection of ready-made animations.

Key Features

  • Provides scene code associated with 3Blue1Brown videos.
  • Uses the original Manim library to define and render animations in Python.
  • Includes examples that can be run by specifying a scene in a Python file.
  • Documents an interactive Manim workflow for testing scene code at a chosen line.
  • Includes custom Sublime Text commands for running scenes and pasting code into the interactive session.
  • Covers a range of mathematical explanations and visualizations across the repository’s video projects.

Use Cases

  • Learn from concrete examples of how mathematical explanations are translated into animated scenes.
  • Run a scene locally to inspect or study its animation and implementation.
  • Adapt existing scene code when producing related educational visualizations.
  • Develop and test Manim scenes interactively, particularly if using the documented Sublime Text workflow.

Getting Started

Install manimgl from the 3b1b/manim repository, install LaTeX, then clone this repository and run a scene, for example:

git clone https://github.com/3b1b/videos.git
cd videos
manimgl e_field.py WavesIn3D

Scene paths and project-specific setup vary. See the README for installation details and workflow instructions.

Considerations

  • The code depends on 3b1b’s original Manim, not the community-maintained edition. Their functionality may differ.
  • Older projects may rely on older Manim versions and may not run without changes.
  • Rendering requires Manim and LaTeX; setup may involve additional path configuration.
  • The README distinguishes the MIT-licensed Manim library from this repository’s contents, which it identifies as CC BY-NC-SA 4.0. The repository metadata reports NOASSERTION, so verify the applicable license before reuse, especially for commercial purposes.

Found this useful?

Share it with someone who would like videos.

Comparisons