A community-maintained Python framework for creating mathematical animations.
Moved Broadcast to simple_animations
Grant Sandersonc649a152d70b
diff --git a/animation/simple_animations.py b/animation/simple_animations.pyindex 77dec0c07..f6ac0e566 100644--- a/animation/simple_animations.py+++ b/animation/simple_animations.py@@ -242,7 +242,6 @@ class UpdateFromAlphaFunc(UpdateFromFunc):def update_mobject(self, alpha):self.update_function(self.mobject, alpha)-class MaintainPositionRelativeTo(Animation):CONFIG = {"tracked_critical_point" : ORIGINdiff --git a/old_projects/crypto.py b/old_projects/crypto.pyindex 9dfa48a6c..0b4dfb1f9 100644--- a/old_projects/crypto.py+++ b/old_projects/crypto.py@@ -129,36 +129,6 @@ class TenDollarBill(VGroup):ten.highlight(GREEN_C)self.add(ten)-class Broadcast(LaggedStart):- CONFIG = {- "small_radius" : 0.0,- "big_radius" : 5,- "n_circles" : 5,- "remover" : True,- "lag_ratio" : 0.7,- "run_time" : 3,- }- def __init__(self, focal_point, **kwargs):- digest_config(self, kwargs)- circles = VGroup()- for x in range(self.n_circles):- circle = Circle(- radius = self.big_radius,- stroke_color = BLACK,- stroke_width = 0,- )- circle.move_to(focal_point)- circle.save_state()- circle.scale_to_fit_width(self.small_radius*2)- circle.set_stroke(WHITE, 8)- circles.add(circle)- LaggedStart.__init__(- self,- ApplyMethod, circles,- lambda c : (c.restore,),- **kwargs- )-##################