Skip to main content

manim_express

image image image image


English | 中文说明

Install

pip install manim_express

Run in pycharm

https://stackoverflow.com/questions/44851652/how-to-allocate-a-pseudo-tty-in-which-to-run-scripts-from-ide

(Find action 'Registry' in PyCharm) named 'run.processes.with.pty' that allows to run Python processes with tty

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 or mouse left on the keyboard and move the mouse to change the three-dimensional perspective.
    • hold down the s key or mouse right on the keyboard and move the mouse to pan the screen
    • hold down the z or ctrl 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 or tab
    • pause the animation by pressing space or ctrl or alt
    • previews animation clip by pressing LEFT
    • next animation clip: RIGHT
    • replay current animation clip: DOWN
  • 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 CONFIG.use_online_tex=True

    from manimlib import *
    from manim_express import *
    import numpy as np
    CONFIG.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

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.6.7.tar.gz (18.0 MB 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.6.7-py3-none-any.whl (81.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: manim_express-0.6.7.tar.gz
  • Upload date:
  • Size: 18.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for manim_express-0.6.7.tar.gz
Algorithm Hash digest
SHA256 210f3cee0d1cc50f7dc03af7cd440238618069f61a306a70117cb2f04abf0915
MD5 834abe6a010330956d551a94ec7d93a3
BLAKE2b-256 80643c75877451153724e0b4bd2fd0c5cd72144aabdfd5c76b62664edc3d15d8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: manim_express-0.6.7-py3-none-any.whl
  • Upload date:
  • Size: 81.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for manim_express-0.6.7-py3-none-any.whl
Algorithm Hash digest
SHA256 6f26841a69d4b1f669bf80fd68b90babbe18e914b7449f5800980cfc86449133
MD5 ebb06fcc17f5578ea556cc4373e1722e
BLAKE2b-256 f9069ff2e1fb3e69c22f4faf5ea8678175690c0b9328980485528e8c7404f7b0

See more details on using hashes here.

Release history Release notifications | RSS feed

0.6.8

2 files

This release

0.6.7 This release

2 files

0.6.6

2 files

0.6.5

2 files

0.6.4

2 files

0.6.3

2 files

0.6.1

2 files

0.5.5

2 files

0.5.2

2 files

0.5.0

2 files

0.4.8

2 files

0.4.7

2 files

0.4.5

2 files

0.4.4

2 files

0.4.1

2 files

0.4.0

2 files

0.3.8

2 files

0.3.7

2 files

0.3.5

2 files

0.3.1

2 files

0.3.0

2 files

0.2.8

2 files

0.2

2 files

0

2 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