A community-maintained Python framework for creating mathematical animations.
TransformFromCopy
Grant Sanderson568d02602cf8
diff --git a/animation/transform.py b/animation/transform.pyindex b6635c512..dff9bf8aa 100644--- a/animation/transform.py+++ b/animation/transform.py@@ -79,6 +79,13 @@ class ReplacementTransform(Transform):}+class TransformFromCopy(ReplacementTransform):+ def __init__(self, mobject, target_mobject, **kwargs):+ ReplacementTransform.__init__(+ self, mobject.deepcopy(), target_mobject, **kwargs+ )++class ClockwiseTransform(Transform):CONFIG = {"path_arc": -np.pi