Compare commits

...

4 Commits

Author SHA1 Message Date
cc8df92596 bump version 2021-04-24 16:18:16 +02:00
ef22141f91 safe current_slide_i increment 2021-04-24 16:16:11 +02:00
6881e24954 fix readme typo 2021-04-24 15:50:23 +02:00
d7d6ac610a readme update 2021-04-24 15:44:38 +02:00
3 changed files with 5 additions and 5 deletions

View File

@ -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)

View File

@ -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):

View File

@ -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",