Lag¶
Qualified name: algan.animation.animation\_contexts.Lag
- class Lag(lag_ratio, **kwargs)[source]¶
Bases:
AnimationContext
Plays component animations sequentially lagged by a factor lag_ratio.
- Parameters:
lag_ratio (float | None) – The portion of run_time to wait before playing the next animation. For example, lag_ratio=0.1 would wait 10% of the run_time_unit for one animation before starting the next.
kwargs (Any)
Methods
Attributes
combine_rate_func
finished
lag_ratio
new_animation
prev_context
priority_level
rate_func
rate_func_compose
record_attr_modifications
record_funcs
run_time
run_time_unit
same_run_time
spawn_at_end
trace_mode
traced_mobs
new_mobs
child_contexts
kwargs