def make_half_bot_subdiamond(self, color_layer=None): top = math_help.mid_point(self.top, self.bot) bot = self.bot left = math_help.mid_point(self.bot, self.left) right = math_help.mid_point(self.bot, self.right) return Diamond(top, left, right, bot, color_layer)
def make_half_mid_subtriangle(self, color_layer=None): top = math_help.mid_point(self.right, self.left) left = math_help.mid_point(self.top, self.right) right = math_help.mid_point(self.top, self.left) return Triangle(top, left, right, color_layer)