MANIM-PPTX
A Manim addon which exports the video as a powerpoint
Table of Contents
Installation
pip install manim-pptx
Usage
To export as pptx make your scene class inherit from PPTXScene
You can then call self.endSlide() to add all animations since the last endSlide().
The endSlide method has also two arguments:
loop- loops the whole Slide.autonext- automatically advances to the next slide when the current slide is done animatingnotes- notes which should be displayed on the created Slideshownextnotes- show the notes of the next slide in the notes of the current slide
Example
from manim_pptx import *
from manim import *
class TestScene(PPTXScene):
def construct(self):
t = Tex("Hello World!")
self.play(Write(t, run_time=2))
self.endSlide()
c = Circle(radius=3)
self.play(Create(c))
d = Dot()
d.move_to(c.get_start())
self.play(Write(d))
self.endSlide(autonext=True, shownextnotes=True)
self.play(MoveAlongPath(d, c))
self.endSlide(loop=True, notes="Next Animation displays Bye")
self.play(*[FadeOut(m) for m in self.mobjects])
t2 = Tex("Bye!")
self.play(Write(t2, run_time=1))
self.endSlide()
Contribution
Feel free to contribute and create pull requests.
Credit
Credit to both manim-presentation and manim-pptx where i stole some good ideas and a bit of code
Metadata
Release files for manim-pptx 0.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| manim-pptx-0.1.6.tar.gz | 31.0 kB | Without provenance | Details for manim-pptx-0.1.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| manim_pptx-0.1.6-py3-none-any.whl | Python 3 | none | any | Details for manim_pptx-0.1.6-py3-none-any.whl |
Total release size: 60.3 kB
Release files / manim-pptx-0.1.6.tar.gz
| Download URL | manim-pptx-0.1.6.tar.gz |
|---|---|
| Size | 31.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
59b76749d2175bab72285062bba25b7541233a9708e998d96704f9dcf34a9aa0
|
|
BLAKE2b-256 checksum How to use checksums |
8cb0c9045dde4e6965438a97743dd61edfeb852a0e5bb4a39bbb2a77b5994958
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.11 CPython/3.9.0 Windows/10
|
Release files / manim_pptx-0.1.6-py3-none-any.whl
| Download URL | manim_pptx-0.1.6-py3-none-any.whl |
|---|---|
| Size | 29.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
769696b10689907dd3e2450dfbcc0964a9c45111e57334e6c5a88ec001aef344
|
|
BLAKE2b-256 checksum How to use checksums |
feb77e2ec01d3cc1cb5173f6830b80d8e4958a43991eab303cedec5a37eee5bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.11 CPython/3.9.0 Windows/10
|
Security for manim-pptx 0.1.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.