import manimlib as mnm
class Manimala(mnm.Scene):
    def construct(self):
        text = mnm.Text('แมงมุม\n\nเข้ามุมซ้ายบน',size=2.5)
        # self.add(text) # จะใส่ไว้ก่อนก็ได้ แต่ไม่จำเป็น
        self.play(
            text.animate.shift(mnm.LEFT*2+mnm.UP*1.5),
            run_time=2
        )
  
import manimlib as mnm
class Manimala(mnm.Scene):
    def construct(self):
        text = mnm.Text('แมงมุม\n\nเข้ามุมขวาล่าง',size=2.4)
        self.play(
            mnm.ApplyMethod(text.shift,mnm.DOWN*1.2+mnm.RIGHT*1.5),
            run_time=1.5
        )
  
import manimlib as mnm
class Manimala(mnm.Scene):
    def construct(self):
        text1 = mnm.Text('แมงมุมบน',size=3.5)
        text2 = mnm.Text('แมงมุมล่าง',size=3)
        self.play(
            text1.animate.shift(mnm.UP*2),
            text2.animate.shift(mnm.DOWN*2),
            run_time=1.5
        )
  
import manimlib as mnm
class Manimala(mnm.Scene):
    def construct(self):
        text1 = mnm.Text('แมงมุมขวา',size=3.1)
        text2 = mnm.Text('แมงมุมซ้าย',size=2.6)
        self.play(
            mnm.ApplyMethod(text1.shift,mnm.RIGHT*1.5),
            mnm.ApplyMethod(text2.shift,mnm.LEFT*2.5),
            run_time=1.5
        )
  
import manimlib as mnm
class Manimala(mnm.Scene):
    def construct(self):
        text = mnm.Text('แมงมุม',size=4)
        self.play(
            text.animate.shift(mnm.LEFT*2.5),
            run_time=0.5
        )
        self.wait(1.5)
        self.play(
            text.animate.shift(mnm.DOWN*2),
            run_time=1
        )
  
import manimlib as mnm
class Manimala(mnm.Scene):
    def construct(self):
        m1 = mnm.Triangle(color='#22bbbb')
        m2 = mnm.Square(color='#cc7777')
        m3 = mnm.Circle(color='#bbee33')
        vg = mnm.VGroup(m1,m2,m3)
        self.play(
            vg.animate.shift(mnm.LEFT*5),
            run_time=3,
            lag_ratio=1
        )
  
import manimlib as mnm
class Manimala(mnm.Scene):
    def construct(self):
        m1 = mnm.Triangle(color='#f4b6e8')
        m2 = mnm.Square(color='#b6e5f4')
        m3 = mnm.Circle(color='#f4e2b6')
        vg = mnm.VGroup(m1,m2,m3)
        self.play(
            vg.animate.shift(mnm.LEFT*5),
            run_time=3,
            lag_ratio=0.2
        )
  
import manimlib as mnm
class Manimala(mnm.Scene):
    def construct(self):
        text = mnm.Text('เมงุมิ',size=4,color='#aaeebb')
        self.play(
            text.animate.shift(mnm.UP*2.5),
            run_time=3,
            lag_ratio=0.5
        )
  
import manimlib as mnm
class Manimala(mnm.Scene):
    def construct(self):
        vgtext = mnm.VGroup(
            mnm.Text('แมง',size=3,color='#88ffbb'),
            mnm.Text('มุม',size=3,color='#ffbb88'),
            mnm.Text('ขอบ',size=3,color='#bb88ff'),
            mnm.Text('ด้าน',size=3,color='#bbff88')
        )
        vgtext.arrange(mnm.RIGHT)
        self.play(
            vgtext.animate.shift(mnm.UP*3),
            run_time=3,
            lag_ratio=0.9
        )
  
import manimlib as mnm
class Manimala(mnm.Scene):
    def construct(self):
        text1 = mnm.Text('แมงมุม',size=3.2,color='#ffddff')
        text2 = mnm.Text('เมฆ',size=4.2,color='#ffffdd')
        text3 = mnm.Text('คุโมะ',size=3.7,color='#ddffff')
        vg = mnm.VGroup(text1,text2,text3)
        vg.arrange(mnm.DOWN)
        self.play(
            mnm.AnimationGroup(
                text1.animate.shift(mnm.DL*3.5),
                run_time=2
            ),
            mnm.AnimationGroup(
                text2.animate.shift(mnm.UR*1.8),
                run_time=3
            ),
            mnm.AnimationGroup(
                text3.animate.shift(mnm.RIGHT*2.9),
                run_time=1
            ),
        )
  
import manimlib as mnm
class Manimala(mnm.Scene):
    def construct(self):
        text1 = mnm.Text('๑',size=6)
        text2 = mnm.Text('๒',size=6)
        text3 = mnm.Text('๓',size=6)
        text4 = mnm.Text('๔',size=6)
        vg = mnm.VGroup(text1,text2,text3,text4)
        vg.arrange(mnm.LEFT)
        
        self.play(
            mnm.AnimationGroup(
                text1.animate.shift(mnm.DL*2),
                text2.animate.shift(mnm.UR*2),
                run_time=1.5,
                lag_ratio=0.3
            ),
            mnm.AnimationGroup(
                text3.animate.shift(mnm.UL*2),
                text4.animate.shift(mnm.DR*2),
                run_time=3,
                lag_ratio=0.9
            ),
        )
  
ติดตามอัปเดตของบล็อกได้ที่แฟนเพจ