Learning How To Animate Videos Using manim Series – A Journey

Important Note: A new post containing all of the information in this series only updated to Python 3.7 and the latest (Dec 2018) commit of manim can be found here: Getting Started Animating with manim and Python 3.7


These posts are based on an earlier version of manim which uses Python 2.7.  The latest version of manim is using Python 3.  To follow along with these posts, use Python 2.7 and the May 9, 2018 commit of manim .


Grant Sanderson of 3Blue1Brown has an amazing series of videos on a variety of topics in mathematics. I especially like how he helps you develop a deeper intuitive feel of some mathematical concepts in linear algebra, calculus, and several other topics. What is also pretty awe-inspiring is that he has developed the animation tools, called manim,  for his videos in Python, which has inspired me to try and animate some videos of my own. Unfortunately there are not many resources for learning how to use manim (which I think stands for mathematical animation) so I decided to set out and teach myself how to use it. The code for manim is freely available on Github.  I’ve noticed a number of people expressing interest in learning how to use manim so I thought I’d share my journey through a series of posts.

The following assumes you have a good understanding of Python and of object oriented programming. Also note that this is based on the May 9, 2018 commit of manim – future versions may break things

Before getting things up and running, I want to point out that this is in no way a definitive manual of the workings of manim. It is merely a narration of my own journey learning how to use manim. My understanding may be faulty and my execution may not be optimal. With those caveats in mind, let’s get started learning how to create our own beautiful mathematical animations.

Tutorial posts in the manim Series:

Note:  This tutorial series was created using Python 2.7 and the May 9, 2018 commit of manim, which can be found here.  I hope to create posts on the updated version sometime in the future.  If you are using a newer version of manim, it can be a great exercise figuring out what has changed that broke your previous code.  Please post in the comments about changes you’ve found and things that don’t work the same way they did in the May 9 commit.

Tutorial files can be found at https://github.com/zimmermant/manim_tutorial

This entry was posted in Just for Fun, Programming and tagged , , , . Bookmark the permalink.

13 Responses to Learning How To Animate Videos Using manim Series – A Journey

  1. Pingback: More Shapes – manim Series: Part 3 | Talking Physics

  2. Pingback: Creating Text – manim Series: Part 4 | Talking Physics

  3. Pingback: Mathematical Equations – manim Series: Part 5 | Talking Physics

  4. Pingback: Aligning Text – manim Series: Part 6 | Talking Physics

  5. Pingback: Graphing Functions – manim Series: Part 7 | Talking Physics

  6. Pingback: More Graphing – manim Series: Part 8 | Talking Physics

  7. Pingback: Vector Fields – manim Series: Part 9 | Talking Physics

  8. Pingback: 3D Scenes – manim Series: Part 10 | Talking Physics

  9. Pingback: Fields of a Moving Charge – manim Series: Part 11 | Talking Physics

  10. Leo Martínez says:

    Acabo de descubrir esta página y me acabo de llevar una maravillosa sorpresa. Por fin alguien que explica como hacer animaciones como las de @3blue1brown. Muchas gracias¡¡ Voy a leerlas e iré comentando que me parece. Un saludo¡¡

    • Leo Martínez says:

      ¿No cree que sería muy útil e interesante no sólo saber cómo utilizar manim sino como se haría desde 0?. Así aprenderíamos a hacer cosas diferentes permitiéndonos usar nuestra creatividad para plasmar nuestras ideas. Creo que es muy diferentes saber usar una herramienta que saber hacerla. Muchas gracias.

  11. Pingback: Working with SVG Files – manim Series: Part 12 | Talking Physics

  12. Erdi says:

    Can you continue to write tutorials ?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.