from manim import *
class LogoDemo(Scene):
    def construct(self):
        title = Text("Logo 放大展示（用几何图形等效演示）", font="STLiti", font_size=28).to_edge(UP)
        self.play(FadeIn(title), run_time=0.6)
        logo = VGroup(Circle(radius=0.9, color=BLUE, stroke_width=8),
                      Text("M", font_size=48, color=WHITE))
        self.play(FadeIn(logo), run_time=0.8)
        self.play(ScaleInPlace(logo, 2.2), run_time=2.0)
        note = Text("原教程引用了本地图片素材，这里用圆形与字母等效替代", font="STLiti", font_size=20, color=YELLOW).to_edge(DOWN)
        self.play(FadeIn(note), run_time=0.4)
        self.wait(2.0)
