https://github.com/ccoors/manim-mpv-presentation
A simple presentation application for Manim using the mpv media player
https://github.com/ccoors/manim-mpv-presentation
manim manim-python manimce mpv presentation
Last synced: about 2 months ago
JSON representation
A simple presentation application for Manim using the mpv media player
- Host: GitHub
- URL: https://github.com/ccoors/manim-mpv-presentation
- Owner: ccoors
- License: gpl-3.0
- Created: 2023-07-23T09:58:21.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-07-23T11:01:52.000Z (almost 2 years ago)
- Last Synced: 2025-02-04T13:41:59.069Z (4 months ago)
- Topics: manim, manim-python, manimce, mpv, presentation
- Language: Python
- Homepage:
- Size: 82 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
# manim-mpv-presentation
manim-mpv-presentation is a tool for playing presentations generated by [Manim](https://manim.community/) using the [mpv](https://mpv.io/) media player. It was created as a lightweight alternative to the awesome [manim-slides](https://eertmans.be/manim-slides/).
## Installation
1. Install [mpv](https://mpv.io/)
2. Install [pdm](https://pdm.fming.dev/)
3. Clone this repository
4. Run `pdm sync --prod` to install the dependencies## Example Usage
1. Run `pdm sync -G test` to install manim
2. `pdm run manim -qh --save_sections -a example/example.py`
3. `pdm run mpv_pres.py media/videos/example/1080p60/sections Scene1 Scene2`## Key bindings
All standard mpv keybindings are available. The following keys are the most common ones used in presentations:
- `q`: Quit presentation
- `f`: Toggle fullscreen
- `spacebar`:
- if no animation is playing: plays next section
- if animation is currently playing: skips to last frame of current animation
- `>`: Skips to next section (required to break out of a loop)
- `<`: Goes to previous section## License
GPLv3