mirror of
https://github.com/3b1b/manim.git
synced 2025-08-01 17:29:06 +08:00
Change default Write run_time
This commit is contained in:
@ -82,12 +82,10 @@ class Write(ShowCreation):
|
|||||||
|
|
||||||
def establish_run_time(self, mobject):
|
def establish_run_time(self, mobject):
|
||||||
num_subs = len(mobject.family_members_with_points())
|
num_subs = len(mobject.family_members_with_points())
|
||||||
if num_subs < 5:
|
if num_subs < 15:
|
||||||
self.run_time = 1
|
self.run_time = 1
|
||||||
elif num_subs < 15:
|
|
||||||
self.run_time = 2
|
|
||||||
else:
|
else:
|
||||||
self.run_time = 3
|
self.run_time = 2
|
||||||
|
|
||||||
class DrawBorderThenFill(Animation):
|
class DrawBorderThenFill(Animation):
|
||||||
CONFIG = {
|
CONFIG = {
|
||||||
|
Reference in New Issue
Block a user