manim_express
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
dkey on the keyboard and move the mouse to change the three-dimensional perspective. - hold down the
skey on the keyboard and move the mouse to pan the screen - hold down the
zon 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
- hold down the
-
manim_expressvsMatplotlib:
In some cases, you may need to install LaTeX to rendertexfonts.
Fortunately, online latex compilation option is available. Just setSceneArgs.use_online_tex=Truefrom 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
-
Wiki
https://flyingframes.readthedocs.io/en/latest/index.html https://3b1b.github.io/manim/ -
3B1B videos:
https://github.com/3b1b/videos
Examples
- GOA model
Metadata
Release files for manim-express 0.3.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.3.5.tar.gz | 34.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| manim_express-0.3.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 72.8 kB
Release files / manim_express-0.3.5.tar.gz
| Download URL | manim_express-0.3.5.tar.gz |
|---|---|
| Size | 34.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7456aafc5a3da8de3a5108faecfd3b76def2af1be78d62e3581dec9f366de244
|
|
BLAKE2b-256 checksum How to use checksums |
bc7d74811dc19977b777d6d2f47d30c657748a0c1afa605f2e9dfbca3eef525c
|
| 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.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8
|
Release files / manim_express-0.3.5-py3-none-any.whl
| Download URL | manim_express-0.3.5-py3-none-any.whl |
|---|---|
| Size | 38.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5ee7f17ccdb9b1f3cae892776bdf509f9718f33dcb5319baca9e1eb4a462b97d
|
|
BLAKE2b-256 checksum How to use checksums |
05eb1b2424ecc65b6ab47f9a07631cc11f572f911b0259bd5f14c354f39328c8
|
| 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.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8
|