import manimlib as mnm
class Manimala(mnm.Scene):
def construct(self):
text = mnm.Text('มาแล้ว',size=6.2,color='#93b8d4')
self.play(
mnm.FadeIn(text),
run_time=1.5
)
import manimlib as mnm
class Manimala(mnm.Scene):
def construct(self):
text = mnm.Text('ไปละนะ',size=4.7,color='#93d4c4')
self.play(
mnm.FadeOut(text),
run_time=1.5
)
import manimlib as mnm
class Manimala(mnm.Scene):
def construct(self):
text = mnm.Text('มาแล้วก็ไป',size=3.9,color='#eca7d4')
self.play(
mnm.FadeIn(text),
run_time=1
)
self.play(
mnm.FadeOut(text),
run_time=1.5
)
import manimlib as mnm
class Manimala(mnm.Scene):
def construct(self):
text = mnm.Text('เขียน',size=5.2,color='#cba7ec')
self.play(
mnm.Write(text),
run_time=1.5
)
import manimlib as mnm
class Manimala(mnm.Scene):
def construct(self):
text = mnm.Text('วาดขอบ\n\nแล้วเติม',size=3.2,color='#f4c1b4')
self.play(
mnm.DrawBorderThenFill(text),
run_time=1.5
)
import manimlib as mnm
class Manimala(mnm.Scene):
def construct(self):
text = mnm.Text('แสดงการสร้าง',size=3.2,color='#969ec9')
self.play(
mnm.ShowCreation(text),
run_time=1.5
)
import manimlib as mnm
class Manimala(mnm.Scene):
def construct(self):
text = mnm.Text('แตกสลาย\n\nแหลกไป',color='#77aacc',size=3)
self.play(
mnm.Uncreate(text),
run_time=1.5
)
import manimlib as mnm
import numpy as np
class Manimala(mnm.Scene):
def construct(self):
text = mnm.Text('เข้ามา',size=4.8,color='#dea7f3')
point = np.array([-4,1,0])
self.play(
mnm.FadeInFromPoint(text,point),
run_time=1.5
)
import manimlib as mnm
import numpy as np
class Manimala(mnm.Scene):
def construct(self):
text = mnm.Text('ออกไป',size=5.1,color='#ddf3a7')
point = np.array([5,-2,0])
self.play(
mnm.FadeOutToPoint(text,point),
run_time=1.5
)
import manimlib as mnm
import numpy as np
class Manimala(mnm.Scene):
def construct(self):
text = mnm.Text('โตมา',size=5.3,color='#a7def3')
point = np.array([-4.5,-1.5,0])
self.play(
mnm.GrowFromPoint(text,point),
run_time=1.5
)
import manimlib as mnm
class Manimala(mnm.Scene):
def construct(self):
text = mnm.Text('โตจากกลาง',size=3.3,color='#9f8fd1')
self.play(
mnm.GrowFromCenter(text),
run_time=1.5
)
import manimlib as mnm
class Manimala(mnm.Scene):
def construct(self):
text = mnm.Text('โตจากซ้ายบน',size=2.9,color='#d1a88f')
self.play(
mnm.GrowFromEdge(text,mnm.UL),
run_time=1.5
)
import manimlib as mnm
class Manimala(mnm.Scene):
def construct(self):
text = mnm.Text('หดหายไป',size=3.3,color='#bbeeff')
self.play(
mnm.ShrinkToCenter(text),
run_time=1.5
)
ติดตามอัปเดตของบล็อกได้ที่แฟนเพจ