From 557e57d95b20d430c4d421c09078ff416d77cfe5 Mon Sep 17 00:00:00 2001 From: Grant Sanderson Date: Wed, 11 Jan 2023 19:27:23 -0800 Subject: [PATCH] Change taper width default --- manimlib/animation/indication.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/manimlib/animation/indication.py b/manimlib/animation/indication.py index 7d5f7fe0..77b4a932 100644 --- a/manimlib/animation/indication.py +++ b/manimlib/animation/indication.py @@ -198,7 +198,7 @@ class VShowPassingFlash(Animation): self, vmobject: VMobject, time_width: float = 0.3, - taper_width: float = 0.02, + taper_width: float = 0.05, remover: bool = True, **kwargs ): @@ -240,7 +240,6 @@ class VShowPassingFlash(Animation): tw = self.time_width sigma = tw / 6 mu = interpolate(-tw / 2, 1 + tw / 2, alpha) - xs = np.linspace(0, 1, len(widths)) zs = (xs - mu) / sigma gaussian = np.exp(-0.5 * zs * zs)