A community-maintained Python framework for creating mathematical animations.
Add supporter exception
Grant Sanderson5121248c2581
diff --git a/manimlib/for_3b1b_videos/common_scenes.py b/manimlib/for_3b1b_videos/common_scenes.pyindex ee2e4d1a2..c4cfa7f8c 100644--- a/manimlib/for_3b1b_videos/common_scenes.py+++ b/manimlib/for_3b1b_videos/common_scenes.py@@ -102,7 +102,7 @@ class PatreonThanks(Scene):patreon_logo = PatreonLogo()patreon_logo.to_edge(UP)- patrons = list(map(TextMobject, self.specific_patrons))+ patrons = list(map(TextMobject, self.specific_patronds))num_groups = float(len(patrons)) / self.max_patron_group_sizeproportion_range = np.linspace(0, 1, num_groups + 1)indices = (len(patrons) * proportion_range).astype('int')@@ -213,7 +213,14 @@ class PatreonEndScreen(PatreonThanks, PiCreatureScene):underline.next_to(thanks, DOWN, SMALL_BUFF)thanks.add(underline)- patrons = VGroup(*list(map(TextMobject, self.specific_patrons)))+ changed_patron_names = map(+ self.modify_patron_name,+ self.specific_patrons,+ )+ patrons = VGroup(*map(+ TextMobject,+ changed_patron_names,+ ))patrons.scale(self.patron_scale_val)for patron in patrons:if patron.get_width() > self.max_patron_width:@@ -252,6 +259,11 @@ class PatreonEndScreen(PatreonThanks, PiCreatureScene):self.add(columns, black_rect, line, thanks)self.wait(wait_time)+ def modify_patron_name(self, name):+ if name is "RedAgent14":+ return "Brian Shepetofsky"+ return name+class LogoGenerationTemplate(MovingCameraScene):def setup(self):