def __init__(self, container_size, palet=color.ColorLayers, depth=6):
        super(SierpinskiTriangles, self).__init__(container_size, palet, depth)

        init_triangle = polygon.fit_triangle_into_rect(size, palet[0])

        self.polygon_list = self.layer_sexy_triangles(init_triangle, depth,
                                                      palet)

        self.polygon_list = [init_triangle] + self.polygon_list
    def __init__(self, container_size, palet=color.ColorLayers, depth=6):
        super(SierpinskiTriangles, self).__init__(container_size,
                                                  palet,
                                                  depth)

        init_triangle = polygon.fit_triangle_into_rect(size, palet[0])

        self.polygon_list = self.layer_sexy_triangles(init_triangle,
                                                      depth, palet)

        self.polygon_list = [init_triangle] + self.polygon_list
    def __init__(self, container_size, palet=color.ColorLayers, depth=6):
        super(RecursiveTriangles, self).__init__(container_size, palet, depth)

        _color = color.get_random_contrasting_color(color.ColorLayers.black,
                                                    palet)

        init_triangle = polygon.fit_triangle_into_rect(self.container_size,
                                                       _color)

        self.polygon_list = self.layer_sexy_triangles(init_triangle, depth)

        self.polygon_list = [init_triangle] + self.polygon_list
    def __init__(self, container_size, palet=color.ColorLayers, depth=6):
        super(RecursiveTriangles, self).__init__(container_size,
                                                 palet,
                                                 depth)

        _color = color.get_random_contrasting_color(color.ColorLayers.black,
                                                    palet)

        init_triangle = polygon.fit_triangle_into_rect(self.container_size,
                                                       _color)

        self.polygon_list = self.layer_sexy_triangles(init_triangle, depth)

        self.polygon_list = [init_triangle] + self.polygon_list