Skip to content

hemanta212/hello-manim

Repository files navigation

Hello manim

Manim is a mathematics graphics/animation library developed by Grant Sanderson(3blue1brown). Watch manim in action on his youtube channel

Demo

output.gif

SEE: More Demos here Manim Demos

Running the code

Head over to the manim github repository and follow their installation instructions. Install latex as well. Once you have installed manim and related tools,

$ git clone https://github.com/hemanta212/hello-manim.git
$ cd hello-manim
$ python -m pip install -r requirements.txt
$ cd manim
$ python setup.py install
$ cd ../
$ python -m manim assignments/selection_question.py ShapesPlay -pl

Self-note: Troubleshooting: Windows

  • Install the cairo whl viewing your python version, if 3.6 install cairo whl file with 36 in it, 38 for python 3.8 and so on.
  • Relevant guide tutorial: youtube link

Troubleshooting: Ubuntu

install dependencies:

$ sudo apt-get install sox ffmpeg python3-cairo python3-opencv libclang-dev
$ sudo apt-get install texlive-full # latex install
$ python -m pip install -r requirements.txt --user
$ python setup.py install --user

Note: for older ubuntu version use ppa:jonathonf/texlive-2019 for rendering chemistry.