Animation engine for explanatory math videos
Project description
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: 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()
-
manim_expressvsMatplotlib:from manimlib import * from manim_express import EagerModeScene import numpy as np x = np.linspace(0, 2*np.pi, 100) y = np.sin(5*x) # matplotlib import matplotlib.pyplot as plt plt.plot(x, y, color='green', linewidth=2) plt.show() # manim_express scene = EagerModeScene() scene.plot(x, y, color=GREEN, width=2) scene.show_plot() scene.hold_on()
Resources
-
Wiki
-
3B1B videos:
https://github.com/3b1b/videos
Examples
- GOA model
Project details
Release history Release notifications | RSS feed
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.2.tar.gz
(8.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file manim_express-0.2.tar.gz.
File metadata
- Download URL: manim_express-0.2.tar.gz
- Upload date:
- Size: 8.4 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.24.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
32dd67cfa681b19d6fd4abf8d56074135ba5af671608f4bd1613f5ec0e817e1d
|
|
| MD5 |
6c5452aadac0d42407f9a95ac3fa8c70
|
|
| BLAKE2b-256 |
939004a9309a38eeb8c2717727df34b26ddeec0c88803992286d32a64f2476c6
|
File details
Details for the file manim_express-0.2-py3-none-any.whl.
File metadata
- Download URL: manim_express-0.2-py3-none-any.whl
- Upload date:
- Size: 9.2 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.24.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d08b57e75472d63da6faeb4a3f46cf5270bfcc123f30285345128690f4d9d6b2
|
|
| MD5 |
48c499a361ed1acac3e9bc4425ea6ad9
|
|
| BLAKE2b-256 |
204d870d51cd7642d7cedd2430a67bb6474e8cb1c43be1130ae0a888c2db56fd
|