lattice problems
This commit is contained in:
parent
8e552dd0c4
commit
d30b4334d5
23
main.py
23
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()
|
||||
|
Loading…
Reference in New Issue
Block a user