diff --git a/examples/manim/example_scene.py b/examples/manim/example_scene.py new file mode 100644 index 0000000000000000000000000000000000000000..11b4199ab7379499141e67612022bd9c64b73af0 --- /dev/null +++ b/examples/manim/example_scene.py @@ -0,0 +1,17 @@ +from manim import * + + +class ExampleScene(Scene): + def construct(self): + self.camera.background_color = WHITE + Text.set_default(color=BLACK) + + rect = Rectangle(color=BLUE) + circle = Circle(color=RED, fill_color=GREEN, fill_opacity=1) + text = Text('Manim') + + rect.shift(DOWN * 1.5) + circle.next_to(rect, UP) + text.move_to(rect.get_center()) + + self.add(rect, circle, text)