summaryrefslogtreecommitdiffstats
path: root/tabor/delavnica/manim/anim.py
blob: eaac6872672ed39eeaf7677ea5a3c17ea1e677f8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13

from manim import *
# or: from manimlib import *
# from manim_slides import Slide

class Test(Scene):
	def construct(self):
		circle = Circle(radius=3, color=BLUE)
		dot = Dot()

		self.play(MoveAlongPath(dot, circle), run_time=2, rate_func=linear)

		self.play(dot.animate.move_to(ORIGIN))