diff --git a/main.py b/main.py index 306c3bb..c29b870 100644 --- a/main.py +++ b/main.py @@ -150,14 +150,31 @@ class MatrixRep(TitledScene): self.wait() -class OrthoDefect(TitledScene): +class LatticeProblems(Scene): + def construct(self): + text = Tex("How does this give us a trapdoor?", font_size=LARGE_FONT) + + self.play(Create(text)) + self.wait() + + self.play(Transform(text, Tex("Lattice problems", font_size=LARGE_FONT))) + self.wait() + + self.play(ApplyMethod(text.to_corner, UP + LEFT)) + self.wait() + + +class OrthoDefect(Scene): def construct(self): text = Tex("How do we decide which bases are ``good''?", font_size=LARGE_FONT) self.play(Create(text)) self.wait() - self.play(ApplyMethod(text.to_edge, UP)) + self.play(Transform(text, Tex("Orthogonal defect", font_size=LARGE_FONT))) + self.wait() + + self.play(ApplyMethod(text.to_corner, UP + LEFT)) self.wait() diagram_1 = VGroup() @@ -167,7 +184,7 @@ class OrthoDefect(TitledScene): diagram_1.shift(2 * LEFT) diagram_1.set_color(GREEN) - label_1 = Tex("Defect 1.0", font_size=MEDIUM_FONT) + label_1 = Tex("Defect 1", font_size=MEDIUM_FONT) label_1.next_to(diagram_1, DOWN) diagram_2 = VGroup()