video-promo/cta.py

17 lines
499 B
Python

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))