An open API service indexing awesome lists of open source software.

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

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