{"id":13395390,"url":"https://github.com/3b1b/manim","last_synced_at":"2025-05-12T17:45:43.126Z","repository":{"id":29159476,"uuid":"32689863","full_name":"3b1b/manim","owner":"3b1b","description":"Animation engine for explanatory math videos","archived":false,"fork":false,"pushed_at":"2025-03-20T19:00:35.000Z","size":76438,"stargazers_count":77194,"open_issues_count":459,"forks_count":6673,"subscribers_count":925,"default_branch":"master","last_synced_at":"2025-05-05T15:10:27.256Z","etag":null,"topics":["3b1b-videos","animation","explanatory-math-videos","python"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/3b1b.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2015-03-22T18:50:58.000Z","updated_at":"2025-05-05T15:00:25.000Z","dependencies_parsed_at":"2023-01-16T22:16:49.642Z","dependency_job_id":"37d92050-e9dd-454a-91c5-c07f8735318f","html_url":"https://github.com/3b1b/manim","commit_stats":{"total_commits":4965,"total_committers":175,"mean_commits":28.37142857142857,"dds":0.4223564954682779,"last_synced_commit":"d8428585f84681055fed8aa3fabfb6ae95e4a0ff"},"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3b1b%2Fmanim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3b1b%2Fmanim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3b1b%2Fmanim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3b1b%2Fmanim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/3b1b","download_url":"https://codeload.github.com/3b1b/manim/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253789790,"owners_count":21964748,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["3b1b-videos","animation","explanatory-math-videos","python"],"created_at":"2024-07-30T17:01:56.003Z","updated_at":"2025-05-12T17:45:41.444Z","avatar_url":"https://github.com/3b1b.png","language":"Python","readme":"\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/3b1b/manim\"\u003e\n        \u003cimg src=\"https://raw.githubusercontent.com/3b1b/manim/master/logo/cropped.png\"\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n[![pypi version](https://img.shields.io/pypi/v/manimgl?logo=pypi)](https://pypi.org/project/manimgl/)\n[![MIT License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat)](http://choosealicense.com/licenses/mit/)\n[![Manim Subreddit](https://img.shields.io/reddit/subreddit-subscribers/manim.svg?color=ff4301\u0026label=reddit\u0026logo=reddit)](https://www.reddit.com/r/manim/)\n[![Manim Discord](https://img.shields.io/discord/581738731934056449.svg?label=discord\u0026logo=discord)](https://discord.com/invite/bYCyhM9Kz2)\n[![docs](https://github.com/3b1b/manim/workflows/docs/badge.svg)](https://3b1b.github.io/manim/)\n\nManim is an engine for precise programmatic animations, designed for creating explanatory math videos.\n\nNote, 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. See [this page](https://docs.manim.community/en/stable/faq/installation.html#different-versions) for more details.\n\n## Installation\n\u003e [!Warning]\n\u003e **WARNING:** These instructions are for ManimGL _only_. Trying to use these instructions to install [Manim Community/manim](https://github.com/ManimCommunity/manim) or instructions there to install this version will cause problems. You should first decide which version you wish to install, then only follow the instructions for your desired version.\n\n\u003e [!Note]\n\u003e **Note**: To install manim directly through pip, please pay attention to the name of the installed package. This repository is ManimGL of 3b1b. The package name is `manimgl` instead of `manim` or `manimlib`. Please use `pip install manimgl` to install the version in this repository.\n\nManim runs on Python 3.7 or higher.\n\nSystem 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).\nFor Linux, [Pango](https://pango.gnome.org) along with its development headers are required. See instruction [here](https://github.com/ManimCommunity/ManimPango#building).\n\n\n### Directly\n\n```sh\n# Install manimgl\npip install manimgl\n\n# Try it out\nmanimgl\n```\n\nFor more options, take a look at the [Using manim](#using-manim) sections further below.\n\nIf you want to hack on manimlib itself, clone this repository and in that directory execute:\n\n```sh\n# Install manimgl\npip install -e .\n\n# Try it out\nmanimgl example_scenes.py OpeningManimExample\n# or\nmanim-render example_scenes.py OpeningManimExample\n```\n\n### Directly (Windows)\n\n1. [Install FFmpeg](https://www.wikihow.com/Install-FFmpeg-on-Windows).\n2. Install a LaTeX distribution. [MiKTeX](https://miktex.org/download) is recommended.\n3. Install the remaining Python packages.\n    ```sh\n    git clone https://github.com/3b1b/manim.git\n    cd manim\n    pip install -e .\n    manimgl example_scenes.py OpeningManimExample\n    ```\n\n### Mac OSX\n\n1. Install FFmpeg, LaTeX in terminal using homebrew.\n    ```sh\n    brew install ffmpeg mactex\n    ```\n   \n2. Install latest version of manim using these command.\n    ```sh\n    git clone https://github.com/3b1b/manim.git\n    cd manim\n    pip install -e .\n    manimgl example_scenes.py OpeningManimExample\n    ```\n\n## Anaconda Install\n\n1. Install LaTeX as above.\n2. Create a conda environment using `conda create -n manim python=3.8`.\n3. Activate the environment using `conda activate manim`.\n4. Install manimgl using `pip install -e .`.\n\n\n## Using manim\nTry running the following:\n```sh\nmanimgl example_scenes.py OpeningManimExample\n```\nThis should pop up a window playing a simple scene.\n\nLook through the [example scenes](https://3b1b.github.io/manim/getting_started/example_scenes.html) to see examples of the library's syntax, animation types and object types. In the [3b1b/videos](https://github.com/3b1b/videos) repo, you can see all the code for 3blue1brown videos, though code from older videos may not be compatible with the most recent version of manim. The readme of that repo also outlines some details for how to set up a more interactive workflow, as shown in [this manim demo video](https://www.youtube.com/watch?v=rbu7Zu5X1zI) for example.\n\nWhen running in the CLI, some useful flags include:\n* `-w` to write the scene to a file\n* `-o` to write the scene to a file and open the result\n* `-s` to skip to the end and just show the final frame.\n    * `-so` will save the final frame to an image and show it\n* `-n \u003cnumber\u003e` to skip ahead to the `n`'th animation of a scene.\n* `-f` to make the playback window fullscreen\n\nTake a look at custom_config.yml for further configuration.  To add your customization, you can either edit this file, or add another file by the same name \"custom_config.yml\" to whatever directory you are running manim from.  For example [this is the one](https://github.com/3b1b/videos/blob/master/custom_config.yml) for 3blue1brown videos.  There you can specify where videos should be output to, where manim should look for image files and sounds you want to read in, and other defaults regarding style and video quality.\n\n### Documentation\nDocumentation is in progress at [3b1b.github.io/manim](https://3b1b.github.io/manim/). And there is also a Chinese version maintained by [**@manim-kindergarten**](https://manim.org.cn): [docs.manim.org.cn](https://docs.manim.org.cn/) (in Chinese).\n\n[manim-kindergarten](https://github.com/manim-kindergarten/) wrote and collected some useful extra classes and some codes of videos in [manim_sandbox repo](https://github.com/manim-kindergarten/manim_sandbox).\n\n\n## Contributing\nIs always welcome.  As mentioned above, the [community edition](https://github.com/ManimCommunity/manim) has the most active ecosystem for contributions, with testing and continuous integration, but pull requests are welcome here too.  Please explain the motivation for a given change and examples of its effect.\n\n\n## License\nThis project falls under the MIT license.\n","funding_links":[],"categories":["Python","HarmonyOS","\u003ca id=\"tag-science\" href=\"#tag-science\"\u003eScience\u003c/a\u003e","python","🎨 图表与插图","[↑](#contents) Graphics / Animation","Learning","Project","مصيرات ومحررات المعادلات","I - Tools List","计算机编程 数据结构与算法","[🔤 pedagogy](https://github.com/stars/ketsapiwiq/lists/pedagogy)","Tools and Libraries","有趣项目","➗ Math","Repos","Visualization","📦 Others (实用工具、媒体与其它)","About"],"sub_categories":["Windows Manager","绘图工具","Teaching Resources :triangular_ruler:","Application","网络服务_其他","工具","tools","2D Visualization"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F3b1b%2Fmanim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F3b1b%2Fmanim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F3b1b%2Fmanim/lists"}