🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

manimforge

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

manimforge

Rust parts of the Animation Library Manim

0.1.2
Maintainers
1

Manim-Forge

Some parts of the python library Manim need to be executed fast. This library contains code for these computations, but written in Rust to improve speed.

Usage

First, install manim. After that, it should just be

pip install manimforge

In the off-chance your operating system doesn't have prebuilt wheels, you'll need to install Rust.

After that, it should be as simple as inserting the following before rendering a scene:

import manimforge as mf
mf.setup()

Supported Versions

This library is only tested with the following:

  • Windows (x86-64)
  • macOS (x86-64)
  • macOS (aarch64)
  • Linux (x86-64 glibc)
  • Linux (x86 glibc)

This library supports the versions of python that Manim itself supports. However, there are some exceptions: namely that free-threaded builds of python are not supported.

Testing

  • Clone the repo
  • Create a virtual environment using something like uv (uv venv)
  • Install dev dependencies (uv sync)
  • Build the library (uv run maturin develop --uv)
  • Run the example (uv run manim -p examples/circle.py --disable_caching)

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts