mirror of
https://github.com/3b1b/manim.git
synced 2025-07-30 05:24:22 +08:00
Added Restore animation
This commit is contained in:
@ -158,6 +158,11 @@ class ScaleInPlace(ApplyMethod):
|
||||
scale_factor, **kwargs)
|
||||
|
||||
|
||||
class Restore(ApplyMethod):
|
||||
def __init__(self, mobject, **kwargs):
|
||||
ApplyMethod.__init__(self, mobject.restore, **kwargs)
|
||||
|
||||
|
||||
class ApplyFunction(Transform):
|
||||
CONFIG = {
|
||||
"submobject_mode": "all_at_once",
|
||||
|
Reference in New Issue
Block a user