diff --git a/architecture.py b/architecture.py index 21c8619..1d7f24a 100644 --- a/architecture.py +++ b/architecture.py @@ -124,14 +124,4 @@ class Architecture(Scene): self.wait(2.0) self.play(FadeOut(hl2), FadeOut(hl3), FadeOut(hl_note)) - self.play(FadeOut(VGroup(*layers)), FadeOut(arrows)) - - cta = VGroup( - Text("AstrAI", font_size=52, color=BLUE), - Text("Single GPU · Open Source · 1B params", font_size=22, color=GRAY), - Text("github.com/ViperEkura/AstrAI", font_size=18, color=YELLOW), - ).arrange(DOWN, buff=0.35) - cta.move_to(ORIGIN) - self.play(Write(cta)) - self.wait(2.5) - self.play(FadeOut(cta), FadeOut(title)) + self.play(FadeOut(VGroup(*layers)), FadeOut(arrows), FadeOut(title)) diff --git a/cta.py b/cta.py new file mode 100644 index 0000000..79f4189 --- /dev/null +++ b/cta.py @@ -0,0 +1,16 @@ +from manim import * + +Text.set_default(font="Times New Roman") + + +class CTA(Scene): + def construct(self): + cta = VGroup( + Text("AstrAI", font_size=52, color=BLUE), + Text("Single GPU · Open Source · 1B params", font_size=22, color=GRAY), + Text("github.com/ViperEkura/AstrAI", font_size=18, color=YELLOW), + ).arrange(DOWN, buff=0.35) + cta.move_to(ORIGIN) + self.play(Write(cta)) + self.wait(2.5) + self.play(FadeOut(cta)) diff --git a/render_all.py b/render_all.py index 61afa9f..d14a1cd 100644 --- a/render_all.py +++ b/render_all.py @@ -11,6 +11,7 @@ SCENES = [ ("architecture.py", "Architecture"), ("continuous_batching.py", "ContinuousBatching"), ("prefix_cache.py", "PrefixCache"), + ("cta.py", "CTA"), ]