from manimlib.imports import *

class TinyUpdater(Scene):

    def construct(self):
        run_setting = {"run_time": 1, "rate_func": linear}
        tick_start = 0
        tick_end = 100
        val_tracker= ValueTracker(tick_start)
        dot_disp= Dot()
        self.add(dot_disp)
        def Tiny_Updater(dots,val_trackerX):
            def small_change2(mob):
                mob.move_to(DOWN * 0.01 * val_trackerX.get_value())
                print(val_trackerX.get_value())
                return mob
            return UpdateFromFunc(dots, small_change2)


        tick_start = 0
        tick_end = 100
        self.play(Tiny_Updater(dot_disp,val_tracker),val_tracker.set_value,tick_end,**run_setting)
        self.wait()
        tick_end = 200
        self.play(Tiny_Updater(dot_disp,val_tracker),val_tracker.set_value,tick_end,**run_setting)



if __name__ == "__main__":
    module_name = os.path.basename(__file__)
    command_A = "manim   -p -c '#2B2B2B' --video_dir ~/Downloads/  "
    command_B = module_name +" " +"TinyUpdater"
    os.system(command_A + command_B)
95643b2af54660d93f74f7b2a6c1449a96c145fc
<mask token>


class TinyUpdater(Scene):
    <mask token>


<mask token>

<mask token>


class TinyUpdater(Scene):

    def construct(self):
        run_setting = {'run_time': 1, 'rate_func': linear}
        tick_start = 0
        tick_end = 100
        val_tracker = ValueTracker(tick_start)
        dot_disp = Dot()
        self.add(dot_disp)

        def Tiny_Updater(dots, val_trackerX):

            def small_change2(mob):
                mob.move_to(DOWN * 0.01 * val_trackerX.get_value())
                print(val_trackerX.get_value())
                return mob
            return UpdateFromFunc(dots, small_change2)
        tick_start = 0
        tick_end = 100
        self.play(Tiny_Updater(dot_disp, val_tracker), val_tracker.
            set_value, tick_end, **run_setting)
        self.wait()
        tick_end = 200
        self.play(Tiny_Updater(dot_disp, val_tracker), val_tracker.
            set_value, tick_end, **run_setting)


<mask token>

<mask token>


class TinyUpdater(Scene):

    def construct(self):
        run_setting = {'run_time': 1, 'rate_func': linear}
        tick_start = 0
        tick_end = 100
        val_tracker = ValueTracker(tick_start)
        dot_disp = Dot()
        self.add(dot_disp)

        def Tiny_Updater(dots, val_trackerX):

            def small_change2(mob):
                mob.move_to(DOWN * 0.01 * val_trackerX.get_value())
                print(val_trackerX.get_value())
                return mob
            return UpdateFromFunc(dots, small_change2)
        tick_start = 0
        tick_end = 100
        self.play(Tiny_Updater(dot_disp, val_tracker), val_tracker.
            set_value, tick_end, **run_setting)
        self.wait()
        tick_end = 200
        self.play(Tiny_Updater(dot_disp, val_tracker), val_tracker.
            set_value, tick_end, **run_setting)


if __name__ == '__main__':
    module_name = os.path.basename(__file__)
    command_A = "manim   -p -c '#2B2B2B' --video_dir ~/Downloads/  "
    command_B = module_name + ' ' + 'TinyUpdater'
    os.system(command_A + command_B)

from manimlib.imports import *


class TinyUpdater(Scene):

    def construct(self):
        run_setting = {'run_time': 1, 'rate_func': linear}
        tick_start = 0
        tick_end = 100
        val_tracker = ValueTracker(tick_start)
        dot_disp = Dot()
        self.add(dot_disp)

        def Tiny_Updater(dots, val_trackerX):

            def small_change2(mob):
                mob.move_to(DOWN * 0.01 * val_trackerX.get_value())
                print(val_trackerX.get_value())
                return mob
            return UpdateFromFunc(dots, small_change2)
        tick_start = 0
        tick_end = 100
        self.play(Tiny_Updater(dot_disp, val_tracker), val_tracker.
            set_value, tick_end, **run_setting)
        self.wait()
        tick_end = 200
        self.play(Tiny_Updater(dot_disp, val_tracker), val_tracker.
            set_value, tick_end, **run_setting)


if __name__ == '__main__':
    module_name = os.path.basename(__file__)
    command_A = "manim   -p -c '#2B2B2B' --video_dir ~/Downloads/  "
    command_B = module_name + ' ' + 'TinyUpdater'
    os.system(command_A + command_B)

from manimlib.imports import *

class TinyUpdater(Scene):

    def construct(self):
        run_setting = {"run_time": 1, "rate_func": linear}
        tick_start = 0
        tick_end = 100
        val_tracker= ValueTracker(tick_start)
        dot_disp= Dot()
        self.add(dot_disp)
        def Tiny_Updater(dots,val_trackerX):
            def small_change2(mob):
                mob.move_to(DOWN * 0.01 * val_trackerX.get_value())
                print(val_trackerX.get_value())
                return mob
            return UpdateFromFunc(dots, small_change2)


        tick_start = 0
        tick_end = 100
        self.play(Tiny_Updater(dot_disp,val_tracker),val_tracker.set_value,tick_end,**run_setting)
        self.wait()
        tick_end = 200
        self.play(Tiny_Updater(dot_disp,val_tracker),val_tracker.set_value,tick_end,**run_setting)



if __name__ == "__main__":
    module_name = os.path.basename(__file__)
    command_A = "manim   -p -c '#2B2B2B' --video_dir ~/Downloads/  "
    command_B = module_name +" " +"TinyUpdater"
    os.system(command_A + command_B)