Skip to main content

Alt text

Manta

A Framework for building Presentation Slides and themed Videos with Manim.

Description

Manta originated from the idea of creating presentation slides with Manim in an easy and time-efficient way. PowerPoints has extensions and libraries such as Efficient Elements to get done presentations faster and more efficiently. Manta essentially tries to do the same for Manim.

Manta is a framework that provides a set of useful tools to create presentation slides with Manim. It features the following components:

  • SlideTemplates: Manta provides a set of predefined slide templates that can be used to create slides.
  • Theming: Manta provides a set of predefined themes and the possibility to create custom themes. Predefined themes include Catppuccin and Tokyo Night.
  • Icons: Manta provides a waste set of icons that can be used in the slides that you might know from using Nerdfonts.
  • Editor: Manim-Editor is a GUI for creating slides with Manim. Mantas slides are designed to be used with Manim-Editor.
  • Examples: Manta provides a set of examples to get started with creating slides.

Table of Contents

Quickstart

First install manta via pip:

pip install manta-manim-theme

Here is a minimal example of how to use Manta:

from manta.slide_templates.minimal.minimal_intro_slide import MinimalIntroSlide


class MyMinimalExampleSlide(MinimalIntroSlide): # make sure to inherit from one of the slide templates
    
    # have a look at the source code of MinimalIntroSlide for customization options (font size, colors, etc.)
    title = "Manta"
    subtitle = "A Framework for creating Presentation Slides \n with Manim and Python"

    def construct(self):
        self.play(
            self.fade_in_slide()
        )
        self.wait(2)

        self.fade_out_scene()


if __name__ == '__main__':
    # instead of using the command line to render the video (like in Manim)
    # you can use the following method to render the video
    # there is a variety of methods to render the videos 
    # in my opinion this more convenient than using the command line
    MyMinimalExampleSlide.show_last_frame()

A brief presentation showcasing Mantas Key-Features is available in its documentation in the Usage section.

Documentation

The documentation for Manta can be found here.

Here are also other resources that might be helpful:

State of the Project

I am using Manta myself to create slides for my presentations, that need to be especially fancy. This will not change in the near future. I assume that I will continue to develop Manta and add new features to it till at least the end of 2027.

Contact

If you have any questions or feedback, feel free to contact me via email

Development

In order to publish the project to PyPi, the project needs to be built and then uploaded to PyPi.

To build the project, run the following command: poetry build It is considered good practice use the tool twine for checking the build and uploading the project to PyPi. By default the build command creates a dist folder with the built project files. To check all the files in the dist folder, run the following command:

twine check dist/**

If the check is successful, you can upload the project to PyPi with the following command:

twine upload dist/**

Documentation

This project uses sphinx for generating the documentation. It also uses a lot of sphinx extensions to make the documentation more readable and interactive. For example the extension myst-parser is used to enable markdown support in the documentation (instead of the usual .rst-files). It also uses the sphinx-autobuild extension to automatically rebuild the documentation when changes are made. By running the following command, the documentation will be automatically built and served, when changes are made (make sure to run this command in the root directory of the project):

sphinx-autobuild ./docs/source/ ./docs/build/html/

This project features most of the extensions featured in this Tutorial: Document Your Scientific Project With Markdown, Sphinx, and Read the Docs | PyData Global 2021.

Metadata

Release files for manta-manim-theme 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for manta-manim-theme 1.0.1
File Size Uploaded Provenance Actions
manta_manim_theme-1.0.1.tar.gz 43.6 MB Without provenance Details for manta_manim_theme-1.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for manta-manim-theme 1.0.1
File Interpreter ABI Platform Actions
manta_manim_theme-1.0.1-py3-none-any.whl Python 3 none any Details for manta_manim_theme-1.0.1-py3-none-any.whl

Total release size: 82.0 MB

Release files / manta_manim_theme-1.0.1.tar.gz

Download URL manta_manim_theme-1.0.1.tar.gz
Size 43.6 MB
Tags Source
SHA-256 checksum
How to use checksums
39c0036a892f6ae800bdc98526aa81e6965beb133f43055626fe8b5ba8bbe77d
BLAKE2b-256 checksum
How to use checksums
71218b88628c100d60f73c84917e89c940315913bf94b41f8008fefb7e74bccc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.11

Release files / manta_manim_theme-1.0.1-py3-none-any.whl

Download URL manta_manim_theme-1.0.1-py3-none-any.whl
Size 38.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
6ba6c877a02049c02dcbbaf8d839160cb12c3e547b8ef18b5539539756499f59
BLAKE2b-256 checksum
How to use checksums
2e8e5ce2f531c223f4726a7e46c5a8d1ff328c6a1a1c6bc5822a4292fd67aa7c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.11

Security for manta-manim-theme 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page