Skip to main content

manim_express

image image image image

Requirements

manim_kunyuan >= 0.27
sparrow_tool
fake_headers
requests
# helium
# pyperclip

Install

pip install manim_express

The above steps will automatically install packages manim_express and manimlib 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()
    scene.play(ShowCreation(square))
    scene.play(ReplacementTransform(square, circle))
    
    scene.hold_on()
    

    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")
    # plt.show()
    
    # manim_express
    scene = EagerModeScene()
    scene.plot(x, y, color=GREEN, width=2, scale_ratio=1)
    scene.show_plot()
    
    scene.hold_on()
    

Resources

Examples

  • GOA model

Download files

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

Source Distribution

manim_express-0.4.0.tar.gz (183.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

manim_express-0.4.0-py3-none-any.whl (222.4 kB view details)

Uploaded Python 3

File details

Details for the file manim_express-0.4.0.tar.gz.

File metadata

  • Download URL: manim_express-0.4.0.tar.gz
  • Upload date:
  • Size: 183.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for manim_express-0.4.0.tar.gz
Algorithm Hash digest
SHA256 f1a3242495b9048249d459f7dbb9db456db827c3ab974e09a00b84331fb77a6f
MD5 934b8c5b66e03e00a2e925140aceed34
BLAKE2b-256 a687fbcbc2e0e91dd82fddbb0a4e073cfb9d498b128e97935485e22d260e6f8f

See more details on using hashes here.

File details

Details for the file manim_express-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: manim_express-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 222.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for manim_express-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 295877896c7f17c723ad6b4d13756c4e8078c1f29d73656b2d0ee3668d56a89e
MD5 583285397b6b6117fab1f9adf78ace55
BLAKE2b-256 ea08c3d15d90c663b9a6fa3d71481f77afee0619fef0e47c225565c93faea289

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page