Skip to main content

manim_express

image image image image

Requirements

manim_kunyuan >= 0.23
sparrow_tool
fake_headers
requests
# helium
# pyperclip

Install

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()
    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

Metadata

Release files for manim-express 0.3.7

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

Source distribution (sdist)

Source distribution for manim-express 0.3.7
File Size Uploaded
manim_express-0.3.7.tar.gz 35.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for manim-express 0.3.7
File Interpreter ABI Platform
manim_express-0.3.7-py3-none-any.whl Python 3 none any Details

Total release size: 74.8 kB

Release files / manim_express-0.3.7.tar.gz

Download URL manim_express-0.3.7.tar.gz
Size 35.0 kB
Tags Source
SHA-256 checksum
How to use checksums
7ce35bb0ab547d7495b4abf16c0e0d2b8a19093992a079f5a601bfc5ae72861e
BLAKE2b-256 checksum
How to use checksums
148935ce152f9af7a30772280fb6ed24db04fd9d6086e497d54d8e99fc0347dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5

Release files / manim_express-0.3.7-py3-none-any.whl

Download URL manim_express-0.3.7-py3-none-any.whl
Size 39.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
675cad7be5f9cfa471459ddf7eba03e44efc4068ea4086466e14c554d5df68f8
BLAKE2b-256 checksum
How to use checksums
c383aa3e90f576a155b63f1d055cfd555c88c3dd089556a9fbfe2659b5df9e6b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5

Release history Release notifications | RSS feed

0.6.8

2 release files

0.6.7

2 release files

0.6.6

2 release files

0.6.5

2 release files

0.6.4

2 release files

0.6.3

2 release files

0.6.1

2 release files

0.5.5

2 release files

0.5.2

2 release files

0.5.0

2 release files

0.4.8

2 release files

0.4.7

2 release files

0.4.5

2 release files

0.4.4

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.8

2 release files

This release

0.3.7 This release

2 release files

0.3.5

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.8

2 release files

0.2

2 release files

0

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