mirror of
https://github.com/jeertmans/manim-slides.git
synced 2025-05-18 03:05:21 +08:00
Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
cc8df92596 | |||
ef22141f91 | |||
6881e24954 | |||
d7d6ac610a |
@ -5,7 +5,7 @@ Tool for live presentations using [manim](https://www.manim.community/)
|
||||
## Install
|
||||
|
||||
```
|
||||
pip install manim_presentation opencv-python
|
||||
pip install manim-presentation opencv-python
|
||||
```
|
||||
|
||||
## Usage
|
||||
@ -83,7 +83,7 @@ virtualenv --python=python3.7 env
|
||||
Install `manim` and `manim_presentation`
|
||||
|
||||
```
|
||||
pip install manim manim_presentation opencv-python
|
||||
pip install manim manim-presentation opencv-python
|
||||
```
|
||||
|
||||
Render the example scene
|
||||
@ -100,6 +100,6 @@ manim_presentation Example
|
||||
|
||||
## Contributions and license
|
||||
|
||||
The code is released as Free Software under the [GNU/GPLv3](https://choosealicense.com/licenses/gpl-3.0/) license. Copying, adapting e republishing it is not only consent but also encouraged.
|
||||
The code is released as Free Software under the [GNU/GPLv3](https://choosealicense.com/licenses/gpl-3.0/) license. Copying, adapting and republishing it is not only consent but also encouraged.
|
||||
|
||||
For any further question feel free to reach me at [federico.galatolo@ing.unipi.it](mailto:federico.galatolo@ing.unipi.it) or on Telegram [@galatolo](https://t.me/galatolo)
|
@ -64,7 +64,7 @@ class Presentation:
|
||||
self.caps.append(cv2.VideoCapture(f))
|
||||
|
||||
def next(self):
|
||||
self.current_slide_i += 1
|
||||
self.current_slide_i = min(len(self.slides) - 1, self.current_slide_i + 1)
|
||||
self.current_animation = self.current_slide["start_animation"]
|
||||
|
||||
def prev(self):
|
||||
|
2
setup.py
2
setup.py
@ -6,7 +6,7 @@ with open(os.path.join(os.path.dirname(os.path.realpath(__file__)), "README.md")
|
||||
|
||||
setuptools.setup(
|
||||
name="manim_presentation",
|
||||
version="0.1.2",
|
||||
version="0.1.3",
|
||||
author="Federico A. Galatolo",
|
||||
author_email="federico.galatolo@ing.unipi.it",
|
||||
description="Tool for live presentations using manim",
|
||||
|
Reference in New Issue
Block a user