May 16, 2020

568 words 3 mins read

Elteoremadebeethoven/AnimationsWithManim

Elteoremadebeethoven/AnimationsWithManim

Animation course with Manim

repo name Elteoremadebeethoven/AnimationsWithManim
repo link https://github.com/Elteoremadebeethoven/AnimationsWithManim
homepage
language Python
size (curr.) 105244 kB
stars (curr.) 371
created 2018-10-10
license

Contents (updating)

Tutorial files

Documentation

This tutorial is based on the manim version of 3 february of 2019

  1. Installation on Windows, GNU/Linux and Mac.
  2. Text format/Part 1 - Youtube/Part 2 - YouTube/Part 3 - YouTube
  3. Tex formulas/YouTube
  4. Text like arrays/YouTube
  5. Transformations/Part 1 - YouTube/Part 2 - YouTube
  6. Visual tools/YouTube
  7. Introduction in 2D plot/YouTube
  8. Introduction in 3D plot/YouTube
  9. Add images, svgs and audio/YouTube
  10. Update functions/YouTube
  11. First project/YouTube

Challenges:

Settings:

Extras:

Support this work in:

What is Manim?

Manim is a free tool for Python created by Grant Sanderson (twitter), matematician from Stantford and owner of the channel of YouTube 3Blue1Brown. It is specialized in scientific subjects, mainly mathematical, so it is based on LaTeX commands (mainly in TeX).

What is LaTeX?

LaTeX is a processor of specialized texts in the scientific field, however, manim only uses TeX commands (with some exceptions), which refers to the writing of formulas. An example of the code in TeX is:

\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}.

If I built this command TeX return:

Who is tutorials for?

This course is mainly aimed at teachers who want to explain a didactic and graphic form a mathematical development or the resolution of especially complex problems. The course extends to anyone who wants to explain a scientific topic in a original way.

I need to know Python 3 and LaTeX to take this tutorials?

No, is not necesary know smething of programming (although it is preferable for faster learning). In addition to learning Python 3, teX knowledge is required to write the formulas. Likewise will be mencion tools such as Pencil chromestore, Codecogs, Rinconmatematico, latex4technics, sciweavers in other pages to learn and write formulas in TeX.

I need a modern PC to run Manim?

No, with 512 MB of RAM and an Intel Core Duo processor (or similar) is more than enough, the difference is the compile time (the fewer resources the longer it will take more time the render).

What advantages does Manim offer with respect to other animation tools?

Advantages:

  • It is free and legal.
  • Works on Windows, GNU/Linux (any distribution) and Mac perfectly.
  • Can be used in old computers.
  • Being open source is completely customizable to the user’s taste.
  • It is constantly improving.
  • The video files are very high quality and light.
  • The formulas are created using TeX commands, so they are of professional quality.
  • In the case of not having programming knowledge, it is a good tool to start learning Python and LaTeX.

Disadvantages:

  • If you do not have the LaTeX package (complete) installed, it will occupy more than 4 GB of space on your computer.
  • A graphic interface is not used to perform the animations, everything is based on the Python 3 and TeX commands. The example of the classic Hello world! would be
from manimlib.imports import *

class HelloWorld(Scene):
    def construct(self):
        helloWorld = TextMobject("Hello world!")
        self.play(Write(helloWorld))
        self.wait()

Requirements

  • Python 3.7
  • pip (to install plug ins of python)
  • Cairo
  • FFmpeg
  • LaTeX (complete)
  • Sox
  • A few plug ins on the list requirements.txt
comments powered by Disqus