from manim import *
import numpy as np
from numpy import array
run_time = 1
data = [[1, 2], [3, 4]]
def dot(pos, **kwargs):
    return Dot(pos, **kwargs)
class PolygonSample(Scene):
    def construct(self):
        self._squares()
        self.wait()
        self.wait(3.10)
    def _squares(self):
        s = Square(side_length=1)
        self.play(Create(s), run_time=0.5)
        s = Square(side_length=1.5)
        self.play(Create(s), run_time=0.5)
        s = Square(side_length=2)
        self.play(Create(s), run_time=0.5)