Beispiel #1
0
 def __init__(self, light_source, **kwargs):
     self.light_source = light_source
     dummy_mob = Mobject()
     ContinualAnimation.__init__(self, dummy_mob, **kwargs)
Beispiel #2
0
 def __init__(self, light_source, **kwargs):
     self.light_source = light_source
     dummy_mob = Mobject()
     ContinualAnimation.__init__(self, dummy_mob, **kwargs)
Beispiel #3
0
 def __init__(self, mobject, tracked_mobject, **kwargs):
     self.anim = MaintainPositionRelativeTo(mobject, tracked_mobject,
                                            **kwargs)
     ContinualAnimation.__init__(self, mobject, **kwargs)
Beispiel #4
0
 def __init__(self, value_tracker, **kwargs):
     if not isinstance(value_tracker, ValueTracker):
         raise Exception(
             "ContinualGrowValue must take a ValueTracker as its mobject")
     self.value_tracker = value_tracker
     ContinualAnimation.__init__(self, value_tracker, **kwargs)
Beispiel #5
0
 def __init__(self, mobject, func, **kwargs):
     self.func = func
     ContinualAnimation.__init__(self, mobject, **kwargs)
Beispiel #6
0
 def __init__(self, animation, **kwargs):
     self.animation = animation
     ContinualAnimation.__init__(self, animation.mobject, **kwargs)
Beispiel #7
0
 def __init__(self, value_tracker, **kwargs):
     if not isinstance(value_tracker, ValueTracker):
         raise Exception("ContinualGrowValue must take a ValueTracker as its mobject")
     self.value_tracker = value_tracker
     ContinualAnimation.__init__(self, value_tracker, **kwargs)
Beispiel #8
0
 def __init__(self, mobject, tracked_mobject, **kwargs):
     self.anim = MaintainPositionRelativeTo(
         mobject, tracked_mobject, **kwargs)
     ContinualAnimation.__init__(self, mobject, **kwargs)
Beispiel #9
0
 def __init__(self, mobject, func, **kwargs):
     self.func = func
     ContinualAnimation.__init__(self, mobject, **kwargs)