Lattices with transforms

This commit is contained in:
jude
2023-05-29 17:13:54 +01:00
parent 76ef7492ba
commit 9b5c6c82bc
4 changed files with 146 additions and 0 deletions

14
components.py Normal file
View 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