Skip to main content

Animation engine for explanatory math videos

Project description


image image image image


manim_kunyuan >= 0.23
# helium
# pyperclip


pip install manim_express

The above steps will automatically install packages manim_express and manimlib(my fork version) for you. Then you can code with them anywhere.

Quick start

  • Render an animation: 3b1b:SquareToCircle

    from manimlib import *
    from manim_express import EagerModeScene
    scene = EagerModeScene()
    circle = Circle()
    circle.set_fill(BLUE, opacity=0.5)
    circle.set_stroke(BLUE_E, width=4)
    square = Square(), circle))

    Operating graphics:

    • hold down the d key on the keyboard and move the mouse to change the three-dimensional perspective.
    • hold down the s key on the keyboard and move the mouse to pan the screen
    • hold down the z on the keyboard while scrolling the middle mouse button to zoom the screen
    • scroll the middle mouse button to move the screen up and down
    • reset camera view by pressing r
    • close the window and exit the program by pressing q
  • manim_express vs Matplotlib:
    In some cases, you may need to install LaTeX to render tex fonts.
    Fortunately, online latex compilation option is available. Just set SceneArgs.use_online_tex=True

    from manimlib import *
    from manim_express import *
    import numpy as np
    SceneArgs.use_online_tex = True # Use online latex compiler
    theta = np.linspace(0, 2*np.pi, 200)
    x = np.cos(theta)
    y = np.sin(theta)
    # matplotlib
    # import matplotlib.pyplot as plt
    # plt.plot(x, y, color='green', linewidth=2)
    # plt.axis("equal")
    # manim_express
    scene = EagerModeScene()
    scene.plot(x, y, color=GREEN, width=2, scale_ratio=1)



  • GOA model

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for manim-express, version 0.3.8
Filename, size File type Python version Upload date Hashes
Filename, size manim_express-0.3.8-py3-none-any.whl (40.5 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size manim_express-0.3.8.tar.gz (35.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page