mirror of
https://github.com/3b1b/manim.git
synced 2025-08-01 17:29:06 +08:00
TransformFromCopy
This commit is contained in:
@ -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):
|
class ClockwiseTransform(Transform):
|
||||||
CONFIG = {
|
CONFIG = {
|
||||||
"path_arc": -np.pi
|
"path_arc": -np.pi
|
||||||
|
Reference in New Issue
Block a user