mirror of
https://github.com/3b1b/manim.git
synced 2025-09-01 00:48:45 +00:00
Added new LaggedStart default lag_ratio
This commit is contained in:
parent
e278c55cbe
commit
d3a68aff1e
1 changed files with 4 additions and 1 deletions
|
@ -10,6 +10,9 @@ from manimlib.utils.rate_functions import linear
|
|||
from manimlib.utils.rate_functions import squish_rate_func
|
||||
|
||||
|
||||
DEFAULT_LAGGED_START_LAG_RATIO = 0.05
|
||||
|
||||
|
||||
class AnimationGroup(Animation):
|
||||
CONFIG = {
|
||||
# If None, this defaults to the sum of all
|
||||
|
@ -133,7 +136,7 @@ class Succession(AnimationGroup):
|
|||
|
||||
class LaggedStart(AnimationGroup):
|
||||
CONFIG = {
|
||||
"lag_ratio": 0.2,
|
||||
"lag_ratio": DEFAULT_LAGGED_START_LAG_RATIO,
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue