def construct(self):
    title = TextMobject(self.title)
    title.to_edge(UP)
    rect = Rectangle(width=16, height=9, color=WHITE)
    rect.set_height((1.5 * FRAME_Y_RADIUS))
    rect.next_to(title, DOWN)
    self.add(title)
    self.play(ShowCreation(rect))
    self.wait(3)
def construct(self):
    title = TextMobject(self.title)
    title.to_edge(UP)
    rect = Rectangle(width=16, height=9, color=WHITE)
    rect.set_height((1.5 * FRAME_Y_RADIUS))
    rect.next_to(title, DOWN)
    self.add(title)
    self.play(ShowCreation(rect))
    self.wait(3)