manim_express
Install
pip install manim_express
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
dkey ormouse lefton the keyboard and move the mouse to change the three-dimensional perspective. - hold down the
skey ormouse righton the keyboard and move the mouse to pan the screen - hold down the
zorctrlon 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
qortab - pause the animation by pressing
spaceorctrloralt - previews animation clip by pressing
LEFT - next animation clip:
RIGHT - replay current animation clip:
DOWN
- hold down the
-
manim_expressvsMatplotlib:
In some cases, you may need to install LaTeX to rendertexfonts.
Fortunately, online latex compilation option is available. Just setCONFIG.use_online_tex=Truefrom 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
-
Wiki
https://flyingframes.readthedocs.io/en/latest/index.html
https://3b1b.github.io/manim/
https://docs.manim.org.cn/
https://docs.manim.org.cn/shaders/ -
3B1B videos:
https://github.com/3b1b/videos -
export pptx
Examples
-
Bezier curve
-
GOA model
-
GOA
-
Apply function
-
Double pendulum
Metadata
Release files for manim-express 0.6.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| manim_express-0.6.5.tar.gz | 17.7 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| manim_express-0.6.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.8 MB
Release files / manim_express-0.6.5.tar.gz
| Download URL | manim_express-0.6.5.tar.gz |
|---|---|
| Size | 17.7 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
57841f8fdec6666beb76c5c83861430aca04d101f653f714080149374119d929
|
|
BLAKE2b-256 checksum How to use checksums |
ab83fbd05135aa3c07b949b6b771ad9eec7b54eb753a7c8b3b278517169ec254
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12
|
Release files / manim_express-0.6.5-py3-none-any.whl
| Download URL | manim_express-0.6.5-py3-none-any.whl |
|---|---|
| Size | 80.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
046a821a99d020364f2524cdb82c6353d61880d81215c799a69432ab02f7c677
|
|
BLAKE2b-256 checksum How to use checksums |
42610cc927fbe9a7d92d117b6a0d44cf6745e13316f32ab9b451874997f1aa91
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12
|