Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Removed UnsyncedParallel, which I realized was just reimplementing the functionality of AnimationGroup (and erroneously); I had misinterpreted the nature of the 'squish'ing in AnimationGroup

Sridhar Ramesha4881d2d07be
diff --git a/animation/simple_animations.py b/animation/simple_animations.py
index 853f218fa..566cd9f7a 100644
--- a/animation/simple_animations.py
+++ b/animation/simple_animations.py
@@ -460,11 +460,3 @@ class AnimationGroup(Animation):
def update_mobject(self, alpha):
for anim in self.sub_anims:
anim.update(alpha)
-
-# Parallel animations where shorter animations are not stretched out to match the longest
-class UnsyncedParallel(AnimationGroup):
- def __init__(self, *sub_anims, **kwargs):
- digest_config(self, kwargs, locals())
- self.run_time = max([a.run_time for a in sub_anims])
- everything = Mobject(*[a.mobject for a in sub_anims])
- Animation.__init__(self, everything, **kwargs)
\ No newline at end of file