概要
wslでmanimやってみた。
練習問題やってみた。
練習問題
真理値表を表示せよ。
成果物
サンプルコード
from manim import *
class CreateTableExample(Scene):
def construct(self):
table = Table([["0", "0", "0"], ["0", "1", "1"], ["1", "0", "1"], ["1", "1", "0"]], col_labels = [Text("A"), Text("B"), Text("XOR")], include_outer_lines = True)
self.play(table.create())
self.wait()
以上。