mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
TransformFromCopy
This commit is contained in:
parent
365093c0b5
commit
568d02602c
1 changed files with 7 additions and 0 deletions
|
@ -79,6 +79,13 @@ class ReplacementTransform(Transform):
|
|||
}
|
||||
|
||||
|
||||
class TransformFromCopy(ReplacementTransform):
|
||||
def __init__(self, mobject, target_mobject, **kwargs):
|
||||
ReplacementTransform.__init__(
|
||||
self, mobject.deepcopy(), target_mobject, **kwargs
|
||||
)
|
||||
|
||||
|
||||
class ClockwiseTransform(Transform):
|
||||
CONFIG = {
|
||||
"path_arc": -np.pi
|
||||
|
|
Loading…
Add table
Reference in a new issue