Lattices with transforms
This commit is contained in:
14
components.py
Normal file
14
components.py
Normal file
@ -0,0 +1,14 @@
|
||||
from manim import *
|
||||
from consts import *
|
||||
|
||||
|
||||
class TitledScene(Scene):
|
||||
def add_title(self, title_text):
|
||||
title = Tex(title_text, font_size=LARGE_FONT)
|
||||
title.set_z_index(100)
|
||||
title.to_edge(LEFT + UP)
|
||||
|
||||
self.add(title)
|
||||
self.play(Write(title))
|
||||
|
||||
return title
|
Reference in New Issue
Block a user