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 N124_01(Scene):
    def construct(self):
        sc = self
        start_shapes = VGroup(Circle(color=BLUE), Square(color=RED), Star(color=GREEN), RegularPolygon(n=8, color=YELLOW))
        end_shapes = VGroup(RegularPolygon(n=8, color=YELLOW), Star(color=GREEN), Triangle(color=BLUE), RegularPolygon(n=4, color=RED))
        self.play(*[FadeIn(_o) for _o in [start_shapes]], run_time=1.0)
        self.wait()
        self.play(TransformMatchingShapes(start_shapes, end_shapes, transform_mismatches=True))
        self.wait(0.5)
        self.wait(2.10)