LoginSignup
0
0

More than 3 years have passed since last update.

manimの作法 その14

Last updated at Posted at 2021-01-15

概要

manimの作法、調べてみた。
TextMobject、使ってみた。

参考にしたページ。

サンプルコード

from manimlib.imports import *

class test(Scene):
    def construct(self):
        for x in range(9):
            for y in range(9):
                A = TextMobject("{} x {} = {}".format(x + 1, y + 1, (x + 1) * (y + 1))).scale(3)
                self.play(ShowCreation(A))
                self.wait()
                self.remove(A)

生成した動画

以上。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0