From 491faac6191f30eab59f2f0c4a5cb2cc8cf3547f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Sun, 2 Jul 2023 22:06:37 +0200 Subject: tabor: delavnica etc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit tale commit lahko vsebuje vsebino z nerazčiščenim intelektualnim lastništvom --- tabor/delavnica/manim/example.py | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 tabor/delavnica/manim/example.py (limited to 'tabor/delavnica/manim/example.py') diff --git a/tabor/delavnica/manim/example.py b/tabor/delavnica/manim/example.py deleted file mode 100644 index 8356367..0000000 --- a/tabor/delavnica/manim/example.py +++ /dev/null @@ -1,19 +0,0 @@ - -from manim import * -# or: from manimlib import * -from manim_slides import Slide - -class BasicExample(Slide): - def construct(self): - circle = Circle(radius=3, color=BLUE) - dot = Dot() - - self.play(GrowFromCenter(circle)) - self.next_slide() # Waits user to press continue to go to the next slide - - self.start_loop() # Start loop - self.play(MoveAlongPath(dot, circle), run_time=2, rate_func=linear) - self.end_loop() # This will loop until user inputs a key - - self.play(dot.animate.move_to(ORIGIN)) - self.next_slide() # Waits user to press continue to go to the next slide -- cgit v1.2.3