Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Change default Write run_time

Grant Sandersona2e8d0aab93e
diff --git a/animation/simple_animations.py b/animation/simple_animations.py
index 0f7a9299f..3b01feea0 100644
--- a/animation/simple_animations.py
+++ b/animation/simple_animations.py
@@ -82,12 +82,10 @@ class Write(ShowCreation):
def establish_run_time(self, mobject):
num_subs = len(mobject.family_members_with_points())
- if num_subs < 5:
+ if num_subs < 15:
self.run_time = 1
- elif num_subs < 15:
- self.run_time = 2
else:
- self.run_time = 3
+ self.run_time = 2
class DrawBorderThenFill(Animation):
CONFIG = {