Skip to main content

ManimX

pypi version MIT License docs Manim Subreddit ManimX Discord

Manim is an engine for precise programmatic animations, designed for creating explanatory math videos.

Installation

Manim runs on Python 3.8 or higher.

System requirements are FFmpeg, OpenGL and LaTeX (optional, if you want to use LaTeX). For Linux, Pango along with its development headers are required. See instruction here.

Directly

# Install manimx
pip install manimx

# Try it out
manimx

For more options, take a look at the Using manim sections further below.

If you want to hack on manimx itself, clone this repository and in that directory execute:

# Install manimx
pip install -e .

# Try it out
manimx example_scenes.py OpeningManimExample
# or
manim-render example_scenes.py OpeningManimExample

Directly (Windows)

  1. Install FFmpeg.
  2. Install a LaTeX distribution. MiKTeX is recommended.
  3. Install the remaining Python packages.
    git clone https://github.com/Manim-X/manimx.git
    cd manimx
    pip install -e .
    manimx example_scenes.py OpeningManimExample
    

Mac OSX

  1. Install FFmpeg, LaTeX in terminal using homebrew.

    brew install ffmpeg mactex
    
  2. Install latest version of manimx using these command.

    git clone https://github.com/Manim-X/manimx.git
    cd manimx
    pip install -e .
    manimx example_scenes.py OpeningManimExample
    

Anaconda Install

  1. Install LaTeX as above.
  2. Create a conda environment using conda create -n manimx python=3.11.
  3. Activate the environment using conda activate manimx.
  4. Install manimx using pip install -e ..

Using manim

Try running the following:

manimx 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 <number> to skip ahead to the n'th animation of a scene.
  • -f to make the playback window fullscreen

Take 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. 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.

Documentation

License

This project falls under the MIT license.

Metadata

Release files for manimx 2024.6.22

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for manimx 2024.6.22
File Size Uploaded
manimx-2024.6.22.tar.gz 183.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for manimx 2024.6.22
File Interpreter ABI Platform
manimx-2024.6.22-py3-none-any.whl Python 3 none any Details

Total release size: 407.5 kB

Release files / manimx-2024.6.22.tar.gz

Download URL manimx-2024.6.22.tar.gz
Size 183.6 kB
Tags Source
SHA-256 checksum
How to use checksums
9b12231f31d2e7b4d637821a576ad89f28a9881b172835da6707a0bf071077e1
BLAKE2b-256 checksum
How to use checksums
d9c4bf26b08fb9eefffb623de75fee7b5d99b9bce6ab9eb3a6afcdf6927f69e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.11.9

Release files / manimx-2024.6.22-py3-none-any.whl

Download URL manimx-2024.6.22-py3-none-any.whl
Size 223.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c8bc9f538e28f8c7c7ea98f41e849f84c37e7d42f9a39d4f064751a50c44be18
BLAKE2b-256 checksum
How to use checksums
7cc5a803e2698391a595dbf8d9688e6809b853cb01ae67d7b9a9024a4bb11e1a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.11.9

Release history Release notifications | RSS feed

This release

2024.6.22 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page