from manim import *
class TransformCompare(Scene):
    def construct(self):
        square = Square(color=GREEN).shift(LEFT * 2)
        circle = Circle(color=BLUE).shift(RIGHT * 2)
        self.play(*[FadeIn(_o) for _o in [square, circle]], run_time=1.0)
        self.play(Transform(square, circle))
        self.wait(0.5)
        self.play(ReplacementTransform(square, circle))
        self.wait(1)
        self.wait(1.10)