Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Manim Dev Container

Dev Container for Manim animation engine. Contains Dockerfile defining a container for OpenGL branch of Manim animation engine.

Requirements

Getting Started

  1. Clone the repository
git clone https://github.com/MasterpieceTechVideos/manim_dev_container.git
  1. Reopen in Container

  2. Install region-based packages

sudo apt-get install -y texlive-formats-extra texlive-fonts-extra 
  1. Run example scene defined in ~/manim/example_scenes.py to generate video
manimgl ~/manim/example_scenes.py AnimatingMethods -o --hd
  1. Get more examples from:

NB

Additional tex packages can be installed incase of any LaTeX related errors. Refer to wkrea/textlive-full-beefless.md Gist for more on installation options.

Usage

  1. Fork the repository
  2. Add your own scene definitions in the src folder e.g.
echo "
from manimlib import *

class SquareToCircle(Scene):
    def construct(self):
        circle = Circle()
        circle.set_fill(BLUE, opacity=0.5)
        circle.set_stroke(BLUE_E, width=4)
        square = Square()

        self.play(ShowCreation(square))
        self.wait()
        self.play(ReplacementTransform(square, circle))
        self.wait()
" >> src/start.py
  1. Generate your animations
manimgl src/start.py SquareToCircle -ol

ToDo

Create Docker Hub image

About

Dev Container for Manim animation engine. Docker container for OpenGL branch of Manim animation engine

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages