A community-maintained Python framework for creating mathematical animations.
Fixed two minor issues of :class:`.SpiralIn` and :class:`.ManimBanner` (#2688)
Benjamin Hackl54bee2722b0d
diff --git a/manim/animation/creation.py b/manim/animation/creation.pyindex 8abc26568..85bb78ccb 100644--- a/manim/animation/creation.py+++ b/manim/animation/creation.py@@ -459,9 +459,10 @@ class SpiralIn(Animation):shape.move_to(shape.initial_position)shape.save_state()- super().__init__(shapes, **kwargs)+ super().__init__(shapes, introducer=True, **kwargs)def interpolate_mobject(self, alpha: float) -> None:+ alpha = self.rate_func(alpha)for shape in self.shapes:shape.restore()shape.save_state()diff --git a/manim/mobject/logo.py b/manim/mobject/logo.pyindex 67339d47b..429641e67 100644--- a/manim/mobject/logo.py+++ b/manim/mobject/logo.py@@ -128,7 +128,7 @@ class ManimBanner(VGroup):An animation to be used in a :meth:`.Scene.play` call."""return AnimationGroup(- SpiralIn(self.shapes),+ SpiralIn(self.shapes, run_time=run_time),FadeIn(self.M, run_time=run_time / 2),lag_ratio=0.1,)