First commit

This commit is contained in:
Federico Galatolo
2021-04-22 17:11:07 +02:00
commit 7bfc2f60de
8 changed files with 1133 additions and 0 deletions

19
example.py Normal file
View File

@ -0,0 +1,19 @@
from manim import *
from manim_presentation import Slide
class Example(Slide):
def construct(self):
circle = Circle(radius=3, color=BLUE)
dot = Dot()
self.play(GrowFromCenter(circle))
self.pause()
self.start_loop()
self.play(MoveAlongPath(dot, circle), run_time=2, rate_func=linear)
self.end_loop()
self.play(dot.animate.move_to(ORIGIN))
self.pause()
self.wait()