自定义动画

paperclip.py

模仿了 回形针PaperClip 的几个动效

class manim_sandbox.utils.animations.paperclip.PassingRectangle(mobject, **kwargs)

一个矩形从 mobject 的左边生成滑到右边结束

class manim_sandbox.utils.animations.paperclip.LaggedCreation(mobject, **kwargs)

起点和终点不同的Creation,只对Rectangle效果好

class manim_sandbox.utils.animations.paperclip.PassingRectangleWithBound(mob, rec, **kwargs)

PassingRectangleLaggedCreation

class manim_sandbox.utils.animations.paperclip.HighLightWithLines(mobject, **kwargs)

突出显示,并且上下边有直线

class manim_sandbox.utils.animations.paperclip.UnHighLightWithLines(mobject, **kwargs)

HighLightWithLines 的逆操作