Skip to content
Snippets Groups Projects
Commit 8bcb2f66 authored by orv0005's avatar orv0005
Browse files

example

parent 220a87e1
No related merge requests found
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)
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment