I'm trying to learn how to use manim
. I've been looking at what I believe is the standard tutorial. I'm now taking some code from the documentation of manim (not the tutorial).
The code I'm running is this (taken from the first example, but with the import command added):
from manimlib.imports import *
class SquareToCircle(Scene):
def construct(self):
circle = Circle()
square = Square()
square.flip(RIGHT)
square.rotate(-3 * TAU / 8)
circle.set_fill(PINK, opacity=0.5)
self.play(ShowCreation(square))
self.play(Transform(square, circle))
self.play(FadeOut(square))
and I'm running it from the command line
$ manim SquareToCircle.py
Media will be stored in ./media/. You can change this behavior by writing a different directory to media_dir.txt.
1: Banner
2: ComplexTransformationScene
3: CountInBinaryTo256
4: CountInDecimal
5: CountInTernary
6: CountingScene
7: DiscreteGraphScene
8: ExternallyAnimatedScene
9: FactorialBase
10: GraphScene
etc
25: SquareToCircle
etc
Choose number corresponding to desired scene/arguments.
(Use comma separated list for multiple entries)
Choice(s):
When I select 25, it runs and produces the output expected. But where are all of those other options coming from? Is there a way to avoid having them show up?