A community-maintained Python framework for creating mathematical animations.
Added Restore animation
Grant Sanderson393bfc68cedb
diff --git a/animation/transform.py b/animation/transform.pyindex 5682b120f..45e18cf31 100644--- a/animation/transform.py+++ b/animation/transform.py@@ -158,6 +158,11 @@ class ScaleInPlace(ApplyMethod):scale_factor, **kwargs)+class Restore(ApplyMethod):+ def __init__(self, mobject, **kwargs):+ ApplyMethod.__init__(self, mobject.restore, **kwargs)++class ApplyFunction(Transform):CONFIG = {"submobject_mode": "all_at_once",