from manim import *
import numpy as np
from numpy import array, pi, cos, sin
run_time = 1
data = [[1, 2], [3, 4]]
def dot(pos, **kwargs):
    return Dot(pos, **kwargs)
class N125_01(Scene):
    def construct(self):
        sc = self
        f1 = MathTex('a^2 + b^2 = c^2').shift(UP)
        f2 = MathTex('c = \\sqrt{a^2 + b^2}').shift(DOWN)
        square = Square(side_length=1, color=BLUE).shift(DOWN)
        circle = Circle(radius=0.6).shift(UP)
        self.play(*[FadeIn(_o) for _o in [f1, square]], run_time=1.0)
        self.wait()
        self.play(Transform(f1, f2, path_arc=PI), Transform(square, circle, path_arc=PI))
        self.wait(0.5)
        self.wait(2.10)