Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 1.07 KB

README.md

File metadata and controls

32 lines (22 loc) · 1.07 KB

manim-mpv-presentation

manim-mpv-presentation is a tool for playing presentations generated by Manim using the mpv media player. It was created as a lightweight alternative to the awesome manim-slides.

Installation

  1. Install mpv
  2. Install pdm
  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