Dev Container for Manim animation engine. Contains Dockerfile defining a container for OpenGL branch of Manim animation engine.
- Clone the repository
git clone https://github.com/MasterpieceTechVideos/manim_dev_container.git-
Reopen in Container
-
Install region-based packages
sudo apt-get install -y texlive-formats-extra texlive-fonts-extra - Run example scene defined in
~/manim/example_scenes.pyto generate video
manimgl ~/manim/example_scenes.py AnimatingMethods -o --hd- Get more examples from:
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.
- Fork the repository
- Add your own scene definitions in the
srcfolder 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- Generate your animations
manimgl src/start.py SquareToCircle -olCreate Docker Hub image