Skip to content

A simple presentation application for Manim using the mpv media player

License

Notifications You must be signed in to change notification settings

ccoors/manim-mpv-presentation

Repository files navigation

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

About

A simple presentation application for Manim using the mpv media player

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages