diff options
author | Anton Luka Šijanec <anton@sijanec.eu> | 2023-07-02 22:06:37 +0200 |
---|---|---|
committer | Anton Luka Šijanec <anton@sijanec.eu> | 2023-07-02 22:06:37 +0200 |
commit | 491faac6191f30eab59f2f0c4a5cb2cc8cf3547f (patch) | |
tree | ac32a58f884cfa71afd9eeb74ca15352d83073ac /tabor/delavnica/manim/example.py | |
parent | eden izmed zadnjih commitov (diff) | |
download | sola-gimb-4-491faac6191f30eab59f2f0c4a5cb2cc8cf3547f.tar sola-gimb-4-491faac6191f30eab59f2f0c4a5cb2cc8cf3547f.tar.gz sola-gimb-4-491faac6191f30eab59f2f0c4a5cb2cc8cf3547f.tar.bz2 sola-gimb-4-491faac6191f30eab59f2f0c4a5cb2cc8cf3547f.tar.lz sola-gimb-4-491faac6191f30eab59f2f0c4a5cb2cc8cf3547f.tar.xz sola-gimb-4-491faac6191f30eab59f2f0c4a5cb2cc8cf3547f.tar.zst sola-gimb-4-491faac6191f30eab59f2f0c4a5cb2cc8cf3547f.zip |
Diffstat (limited to 'tabor/delavnica/manim/example.py')
-rw-r--r-- | tabor/delavnica/manim/example.py | 19 |
1 files changed, 0 insertions, 19 deletions
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 |