mirror of
https://github.com/3b1b/manim.git
synced 2025-07-29 21:12:35 +08:00
Redid digest_config and introduced digest_locals
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
import numpy as np
|
||||
import itertools as it
|
||||
|
||||
from helpers import *
|
||||
from scene import Scene
|
||||
from animation import Animation
|
||||
|
||||
@ -87,8 +88,6 @@ class FlipThroughSymbols(Animation):
|
||||
"end_center" : ORIGIN,
|
||||
}
|
||||
def __init__(self, tex_list, **kwargs):
|
||||
digest_config(self, FlipThroughSymbols, kwargs, locals())
|
||||
self.curr_tex = self.tex_list[0]
|
||||
mobject = tex_mobject(self.curr_tex).shift(start_center)
|
||||
Animation.__init__(self, mobject, **kwargs)
|
||||
|
||||
|
Reference in New Issue
Block a user