# manim **Repository Path**: lg21c/manim ## Basic Information - **Project Name**: manim - **Description**: Animation engine for explanatory math videos - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2021-04-25 - **Last Updated**: 2022-05-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README
[](https://pypi.org/project/manimgl/) [](http://choosealicense.com/licenses/mit/) [](https://www.reddit.com/r/manim/) [](https://discord.gg/mMRrZQW) [](https://3b1b.github.io/manim/) Manim is an engine for precise programatic animations, designed for creating explanatory math videos. Note, there are two versions of manim. This repository began as a personal project by the author of [3Blue1Brown](https://www.3blue1brown.com/) for the purpose of animating those videos, with video-specific code available [here](https://github.com/3b1b/videos). In 2020 a group of developers forked it into what is now the [community edition](https://github.com/ManimCommunity/manim/), with a goal of being more stable, better tested, quicker to respond to community contributions, and all around friendlier to get started with. You can engage with that community by joining the discord. Since the fork, this version has evolved to work on top of OpenGL, and allows real-time rendering to an interactive window before scenes are finalized and written to a file. ## Installation Manim runs on Python 3.6 or higher (Python 3.8 is recommended). System requirements are [FFmpeg](https://ffmpeg.org/), [OpenGL](https://www.opengl.org/) and [LaTeX](https://www.latex-project.org) (optional, if you want to use LaTeX). For Linux, [Pango](https://pango.gnome.org) along with it's developerment headers are required. See instruction [here](https://github.com/ManimCommunity/ManimPango#building). ### Directly ```sh # Install manimgl pip install manimgl # Try it out manimgl ``` For more options, take a look at the [Using manim](#using-manim) sections further below. If you want to hack on manimlib itself, clone this repository and in that directory execute: ```sh # Install manimgl pip install -e . # Try it out manimgl example_scenes.py OpeningManimExample # or manim-render example_scenes.py OpeningManimExample ``` ### Directly (Windows) 1. [Install FFmpeg](https://www.wikihow.com/Install-FFmpeg-on-Windows). 2. Install a LaTeX distribution. [MiKTeX](https://miktex.org/download) is recommended. 3. Install the remaining Python packages. ```sh git clone https://github.com/3b1b/manim.git cd manim pip install -e . manimgl example_scenes.py OpeningManimExample ``` ### Mac OSX 1. Install FFmpeg, LaTeX in terminal using homebrew. ```sh brew install ffmpeg mactex ``` 2. Install latest version of manim using these command. ```sh git clone https://github.com/3b1b/manim.git cd manim pip install -e . manimgl example_scenes.py OpeningManimExample ``` ## Anaconda Install 1. Install LaTeX as above. 2. Create a conda environment using `conda create -n manim python=3.8`. 3. Activate the environment using `conda activate manim`. 4. Install manimgl using `pip install -e .`. ## Using manim Try running the following: ```sh manimgl example_scenes.py OpeningManimExample ``` This should pop up a window playing a simple scene. Some useful flags include: * `-w` to write the scene to a file * `-o` to write the scene to a file and open the result * `-s` to skip to the end and just show the final frame. * `-so` will save the final frame to an image and show it * `-n