A community-maintained Python framework for creating mathematical animations.
Added GrowFromEdge
Grant Sandersonaa5e1df5b274
diff --git a/animation/creation.py b/animation/creation.pyindex a0417b80b..5a0a82fd2 100644--- a/animation/creation.py+++ b/animation/creation.py@@ -188,6 +188,13 @@ class GrowFromCenter(GrowFromPoint):GrowFromPoint.__init__(self, mobject, mobject.get_center(), **kwargs)+class GrowFromEdge(GrowFromPoint):+ def __init__(self, mobject, edge, **kwargs):+ GrowFromPoint.__init__(+ self, mobject, mobject.get_critical_point(edge), **kwargs+ )++class GrowArrow(GrowFromPoint):def __init__(self, arrow, **kwargs):GrowFromPoint.__init__(self, arrow, arrow.get_start(), **kwargs)